Fixed minor bug in CtrlSpaceResolveHelper.GetResultFromDeclarationLine which showed up e.g. when right clicking keyword "as" in the editor.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6369 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Rename, Move class to file, Rename file, Extract interface class context menu items from SharpDevelop to SharpRefactoring.addin.
Added comments to MenuBuilders about Addin tree paths where they are registered, for better clarity on how the menu builders work.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6126 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
- Implemented this in SharpDevelop.addin (not SharpRefactoring.addin) because original Find references is implemented in SharpDevelop as well
- Implemented as new separate command, because original "Find references" command makes sense in other class contexts (Class browser) where the new command doesn't make sense
- TODO: positon the popup on caret - HOW?, close the popup
Implemented Context actions - the ReSharper-like popup with context-relevant actions that will be shown over editor.
- Actions can form a tree, mostly will be a flat list
- Used to implement inheritance tree popup
Removed "Save", "Save As", "Save with encoding" and "Close" items from editor context menu. They occupy space, are rarely used, and are accessible from File menu.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5999 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Removed IClass.GetBaseType(int index) - it had only one implementation returning this.BaseTypes[index] -> user can always use IClass.BaseTypes.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5992 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Implementation:
- added bool ICompletionItemList.ContainsAllAvailableItems - the list tells if it could contain even more items and anyone displaying it (SharpDevelopCompletionWindow) can handle this
- bool ContainsAllAvailableItems is always true except for NRefactoryCompletionItemList returned by NRefactoryCtrlSpaceCompletionItemProvider, where it can be set to false
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5906 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Fixed bug that caused MSBuild to compile one project several times (possibly even in parallel, thus failing the build).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5642 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61