Daniel Grunwald
017c07888a
Use FileName class for ITextEditor.FileName and OpenedFile.FileName.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5028 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Christian Hornung
b3e15c91cb
Ported ResourceToolkit to ITextEditor.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4970 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
2f49e082e5
Improved automatic language switching of workbench elements.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4853 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
2540b7e087
ParserService refactoring:
...
- one IParser instance per file
- ITextBuffer provides a method to retrieve changes since the last parse runs
- IParser implementations may choose to use this to implement incremental parsing
- no concurrent calls to the same IParser instance
- one file may be inside multiple projects
- Split out assembly handling to AssemblyParserService
- Split out LoadSolutionProjectsThread to LoadSolutionProjects.cs
See http://laputa.sharpdevelop.net/ParserServiceRefactoring.aspx
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4711 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
1afb035d95
Use ITextBuffer instead of string in IParser.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4668 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
ab626fb573
Add back all unit tests.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/dotnet4@4296 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
19025349a9
Move ICSharpCode.SharpDevelop.Dom.IParser to ICSharpCode.SharpDevelop.Project
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4176 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
0630068f58
Move code completion types into ICSharpCode.SharpDevelop.Editor.CodeCompletion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4175 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
b4f383ad8f
New search results pad.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4169 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
f5b8a4a2df
Set TargetFrameworkVersion to 4.0
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/dotnet4@4098 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
acc3c88a7b
Fixed build - NUnit 2.5 no longer allows hiding the SetUpFixture method in derived classes.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4055 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
babca5416f
Fixed failing tests due to move to NUnit 2.5
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4054 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
4c485fabf7
Rename Content property back to Control (IViewContent, IPadContent, IOptionsPanel) to prevent the C# compiler from automatically picking up a Content property from a base class.
...
The name 'Content' could result in a hard to understand exception 'Specified element is already the logical child of another element. Disconnect it first.' when implementing IOptionPanel in a WPF UserControl. See forum-9233.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4018 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
024c5fb887
ITextEditor: moved to namespace ICSharpCode.SharpDevelop.Editor.
...
Added support for anchors and text markers.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3992 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
173236e380
Allow using icons in code completion items.
...
ClassBrowserIconService now provides both WinForms and WPF images.
Some refactorings are now using the ITextEditor interface.
Started working on bookmark support for AvalonEdit.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3982 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
fd03921b13
Fixed exception when hovering mouse outside of document.
...
Fixed exception when menu has no subitems.
Fixed opening options dialog.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3923 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
71993014c9
AvalonEdit: tooltips.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3913 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
5380d99724
Improvements to AvalonEdit CompletionWindow. Implemented TextAreaInputHandler.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3889 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
9989443564
ITextEditor interface: caret line/column now starts counting at 1.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3879 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
2cbe40b6a4
Started replacing ICSharpCode.TextEditor references in SharpDevelop API with new ITextEditor interface.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3874 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
26a1551633
When handling file names, use StringComparison.OrdinalIgnoreCase instead of InvariantCultureIgnoreCase.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3863 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
f41bf57e52
SD2-1521: Reconsider what a 'preinstalled addin' is.
...
Third-party AddIns installed in SharpDevelop/AddIns are now visible in the AddInManager, only AddIns with 'addInManagerHidden="preinstalled"' stay hidden.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3806 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Christian Hornung
e0791cefb3
ResourceToolkit: Show a message instead of an exception when a resource file cannot be read or written when deleting or renaming keys.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3777 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Christian Hornung
e35c250c39
ResourceToolkit: Fixed exception when encountering an empty resource name in a ResourceManager constructor call.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3646 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Christian Hornung
6a23957e5f
Fixed ResourceToolkit crash when resolving in certain VB code where the region of the ExpressionResult is not set.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3505 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christian Hornung
6419433ed1
ResourceToolkit: Fixed the ICSharpCodeCoreResourceResolver detecting a resource reference even if the caret is positioned after the closing brace of ${res:...}. Added unit test for this case.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3397 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
216cc81acd
Add AvalonDock.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0wpf@3300 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christian Hornung
69b69f77bb
ResourceToolkit: Support resolving calls to ComponentResourceManager.ApplyResources which are generated by the forms designer PropertyReflection localization model. Added new ResourcePrefixResolveResult for this purpose, to indicate that a call refers to all resources starting with a specified prefix. Resources used by ApplyResources are no longer listed as unused.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3299 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
69598c8466
Make workbench a WPF window.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0wpf@3295 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
3bd1ab5517
SD2-1342: Remove Windows.Forms dependency from ICSharpCode.Core
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3287 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christian Hornung
7895c2ad96
ResourceToolkit: When resolving on a string literal, directly go back to its beginning instead of retrying every position. Added unit test for a bug fixed by this change. Added some VB.NET resource resolver unit tests.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3284 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christian Hornung
a8272b61ec
Added unit tests for the ResourceToolkit.
...
Refactored the ResourceToolkit so that unit testing is possible without properly initializing all the SharpDevelop core services.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3282 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christian Hornung
8319e02771
ResourceToolkit: Fixed the BCL resource resolver. It now accepts any ResolveResult for the typeof(...) initializer, not only a TypeResolveResult which had been returned by NRefactoryResolver in earlier versions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3278 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christian Hornung
70f9463da3
ResourceToolkit: The scope for the "Find missing resource keys" operation can now be selected from one of "whole solution", "current project", "current file" and "all open files". Added some debugging code. Converted project to .NET 3.5.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3252 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christian Hornung
6ba58ec72f
ResourceToolkit: Fixed resource tooltips by adapting NRefactoryResourceResolver to the new behavior of the C# ExpressionFinder.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2955 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
fe0b68c19d
Make IClass (+ IMember, IParameter, IAttribute, ICompilationUnit .....) immutable.
...
Rewrite partial class support in DefaultProjectContent.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2929 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
9b4679edf1
NRefactoryResolver rewrite: remove code duplication between NRefactoryResolver and TypeVisitor. Changed handling of method groups to follow C# specification more closely.
...
This fixes several bugs in overload resolution.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2819 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
9c78cdcfc5
Some fixes suggested by FxCop.
...
Fixed using the "Suppress message" command on constructors.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2702 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
0c51983690
NRefactory: Support parsing statements like "SomeDelegate d = GenericMethod<string>;"
...
Renamed FieldReferenceExpression to MemberReferenceExpression.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2676 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
d2315a13c0
Worked on VB<->C# converter.
...
Fixed SD2-980: VB 'For Each' statement not converted correcly to C#
Text editor: Use TextLocation struct instead of System.Drawing.Point to represent line/column pairs.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2659 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Christian Hornung
791a591134
Fixed forum-17806: Exception on showing resource tooltip when the resource name is equal to the project root namespace.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2605 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Christian Hornung
b07724e602
ResourceToolkit: Fixed NullReferenceException when a ResourceManager access is resolved and the source code contains an assignment to a variable which does not have a return type.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2504 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
7962a07e6b
Show "value" in Ctrl+Space completion list inside property setters.
...
Fixed tooltip + go to definition for the type in property definitions like "public Color Color".
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2496 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
2e258f2150
Improved SharpDevelop.Dom API.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2465 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Christian Hornung
4198ba3c8a
ResourceToolkit:
...
Implemented SD2-1237 - Support accessing linked resource files. Resource files that are accessed using a ResourceManager (except the designer generated ones) are now searched in the project instead of directly on disk.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2320 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
15d7aadd27
Worked on SD2-1234: Create common way to handle in-memory representations of files that have multiple views.
...
Removed SharpQuery.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2313 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Christian Hornung
6aea4eba79
ResourceToolkit:
...
Fixed resolving of local resource managers (was broken since r2191 because NRefactoryResolver now requires the location to be set on expressions that are parsed with parser.ParseExpression).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2264 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Christian Hornung
4ac2c6f933
Fixed SD2-1239: ResourceToolkit: Incorrect mapping of manifest resource names to file names in VB.
...
In a VB project, the addin now searches the project root folder and all included project folders when looking for a resource file.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2219 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
9944060a99
Remove GetClass overload that doesn't take a TypeParameterCount
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2195 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
9b7a082e24
Add partial C# 3.0 support.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2191 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago