- Avoid excessive file name normalization by changing IProject.FileName from string to class FileName.
- Dispose CSharpSemanticHighlighter to fix memory leak and avoid excessive number of ParseInformationUpdated listeners.
Added error messages if F11 is pressed when caret is not over valid symbol. (Go to definition / Find references stays without error message - error message might be annoying; I think F11 needs some explanation to the user though)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6098 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Rename - Ctrl+R (Replace changed Ctrl+R -> Alt+R),
Find references - F12 (VS uses F12 for Go to definition)
Go to derived class / override - F11
Go to base class - no shortcut
To make these shortcuts work, added items to "Search" menu.
Modified AbstractEntity.IsOverridable to return true also for interface members.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6093 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
This fixes forum-9916 (error closing Sharp Development IDE after renaming a form).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4885 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
AvalonEditViewContent: text buffer returned by IEditable.CreateSnapshot() now supports ITextBufferVersion
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4730 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
- 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
Exposed the syntax highlighter to ITextEditor to allow AddIns to efficiently determine if a line starts in a multi-line comment.
Ported "Create property","Create changed event" and "Create on event method" refactorings to ITextEditor.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4492 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Adaptations to ParserService and ParseableFileContentEnumerator to make sure they always use the most recent version of the file content.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3601 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
With the new view content system we must not switch views during a save operation.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3556 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
- 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