Daniel Grunwald
c1a0dbbbe9
Fixed InvalidOperationException in RefactoringMenuBuilder when right-clicking on a definition immediately after adding/removing a field.
...
Fixed ParserService: two ParseInformations could be created for the same file if the file names were in different case.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3090 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
5af6034dd7
Assign positions to generated dummy type/members, this is required for the resolver to work correctly.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3089 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
3b28446cec
Add class for each code snippet conversion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3088 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
7fdddcd1f4
Custom components can now be dragged and dropped onto a form from the Tools window.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3082 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
c9cc1b2d38
Fixed null exception in the class browser when a new project is created. The class browser now checks the ProjectService.OpenSolution is not null.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3081 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
e461aa7bca
Fixed bug: In "override" completion, methods/properties were shown multiple times if they were defined in multiple base classes.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3073 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
11f6049c38
Implemented SD2-1353: Allow for build-action specific properties for FileProjectItems.
...
Removed non-generic AddInTree.BuildItems method - the generic version should always be used because it provides better error messages when an incorrectly typed node is put into the tree.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3067 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
adf614394b
Fixed XML documentation warnings.
...
Update ConditionList.html and DoozerList.html
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3065 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
38cef94960
Fixed SD2-1414: Mouse wheel scrolling does not work for high-resolution mice
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3064 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
058f469b40
Docking library bugfix: Ensure pad visibility is set correctly, even when Windows.Forms is "lying" about Form.Visible.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3061 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
257704fc07
Fixed NullReferenceException when resolving in incomplete method declaration.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3060 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
92ca3a3a40
Make end of block a synchronizing token. This fixes the end location of blocks with simple syntax errors, improving code completion in some cases.
...
Don't show code completion after "Type variable1, " -> IdentifierExpected context.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3059 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
98bd9a21e3
Safe saving: don't use temporary file when the destination file does not exist.
...
This ensures that .resx files exist when they are saved, which is required to add them to version control. Fixes forum-6459.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3058 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
1625f87db6
Fixed forum-7711: #Develop 3 Sidebar scrolling issues
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3056 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
8d4847e50d
Fixed SD2-1408: NRefactoryResolver throws exception using 'Remove unused imports statements'.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3055 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
9cdbc0f174
Fixed forum-7725: A zombie caret stays visible when closing a code completion dropdown with Esc.
...
The caret was sometimes updated in OnPaint, which is invalid (Windows temporarily disables carets during WM_PAINT)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3054 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
ed61e3bfaa
Hide progress dialog while showing project load errors.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3051 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
7efa54a6fb
Fixed casing of Microsoft.CSharp.targets and System.Xml in .csproj files, fix FileUtility.Minimal.cs when running on Mono.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3050 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
86499cb66f
Fixed forum-7730: Code-completion on generic classes that derive from another generic class.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3049 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
01c819ff5c
Fixed forum-7737: a solution could be opened with relative path from the command line.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3048 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
5c69217fcc
Implemented SD2-1322: Cancelling an in progress search (based on patch by Siegfried Pammer)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3042 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
6cb022610d
Use MSBuild to determine the correct default value of "Copy Local".
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3041 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
91fe2ef2a6
Fixed bug that caused unit test failure.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3040 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
6b13b051c1
Fixed exception when a file was modified externally so that the old start position of a class is on an invalid line.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3039 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
985ca71e1b
Add SimpleWorkbenchLayout (a very simple layout which is not using the docking library, all pads are fixed on the left side)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3037 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Siegfried Pammer
b241da0577
Fixed the NullReference bug, when no document is opened in TaskListPad.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3035 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Siegfried Pammer
6228c14e07
Removed message box from TaskListPad and cleaned the code.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3028 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Siegfried Pammer
f4567803e8
task pad now refreshes when ActiveViewContent is changed
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3027 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Siegfried Pammer
9e02985b62
Implemented SD2-1404.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3024 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
46ff714cc1
Fixed SD2-511: Code completion in inserted line
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3023 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Alpert
de1ed7c4f4
Added basic support for Extract Interface refactoring in C#; not yet tested in VB.NET:
...
- moved MoveClassToFile, GetDocument, and ExtractCode from ClassBookmarkMenuBuilder.cs to FindReferencesAndRenameHelper.cs to co-locate similar refactoring helpers
- added ExtractInterface refactoring to the ClassBookmarkMenuBuilder, RefactoringProvider, and NRefactoryRefactoringProvider
- added some test for NRefactoryRefactoringProvider in a new test project: ICSharpCode.SharpDevelop.Dom.Tests
- added default string resources for ExtractInterface to both StringResources.resources and LocalizeDb.mdb
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3019 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
94b6797bc1
Fixed bugs regarding lambda type inference.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3017 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
7236ca06c0
Fixed lambda type inference when the lambda was used for an expression tree.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3014 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
3b59a03923
Fixed SD2-1393: Implicitly typed variable declaration without new keyword throws exception
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3013 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
fa9d4b17a3
Improved handling of incomplete lambda expressions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3012 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
a36875a615
Fixed anonymous types with explicit property names.
...
Fixed type inference when lambda expression is used as argument to a constructor of a generic class.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3011 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
f5913a8d1d
Worked on lambda expression support.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3010 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
420b068acd
Rewrote type inference and overload resolution. The new version has support for implicitly typed lambda expressions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3009 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
1014987ccd
Fixed problem where a form's resx file would be opened the next time a solution was loaded if the solution was closed with the form open in the designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3008 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
755c666347
Fixed forum-7601: 'Remove unused import statements' command removes extension method's namespace
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3007 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
7f07348741
Add option to context menu to automatically add a missing using statement.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3004 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
f6fb352ed1
FileChangeWatcher: prevent exception when OpenedFile.FileName is null.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3000 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
bff7f206c0
FileChangeWatcher: use HashSet instead of Set, we don't want to sort
...
TaskView: split up long words in tooltip (e.g. long generic type names in compiler errors), they cause bad Windows Forms performance
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2999 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
cb20c5214c
QuickClassBrowser: fixed display of classes (namespace was missing).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2998 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
392ef70922
Fixed SD2-1297: Implement "safe saving"
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2997 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
7e345cff99
Implemented SD2-1296: Watch files for external changes
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2996 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
3a1d4e2879
Limit length of entry names in clipboard ring.
...
Fixed code completion on generic new expressions ("var a = new List<string>();")
Make ResolveResult immutable because it can be cached by the resolver.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2993 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
02238ea49c
Fix forum-7502: copy documentation when cloning members, fixes missing documentation in tooltips for generic methods/methods in generic classes
...
ConvertToMSBuild35: do not add .NET 3.5 references again when the project already is .NET 3.5.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2992 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
111e507419
Fixed forum-7497: Wrong generic overload resolution in tooltip (when a generic method was called from another generic method)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2991 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
98b7690971
Fixed usage of AmbienceService.CurrentAmbience: sometimes the ConversionFlags were not used because the ambience object was recreated.
...
Fixed page up/page down in text editor: confusion between character and pixel coordinates caused caret to move to the wrong column.
Fixed crash when StartProgram or WorkingDirectory were invalid paths.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2990 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago