Martin Koníček
33d3af13c7
Ctrl+T in the editor opens and focuses Context actions popup. Added tooltip so that the shortcut is discoverable.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6353 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
9485a07bdb
VBNetLanguageBinding returns LanguageProperties.VBNet, so that Context actions now work also for VB.
...
Context actions and Highlight symbol are enabled only for .cs and .vb files.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6347 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
d107ee6ecd
Removed reparse from ContextActionsService, it hangs WPF designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6343 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
e7f82a9a83
Context actions popup has pencil icon.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6340 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
a842a3b8f5
Split ContextActionsControl to 2 different classes: one for Popup in the margin, one for "Derived classes" popup.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6339 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
ac810d59bc
TranslateMenuItemToWpf sets also shortcut on WPF MenuItem, so that menus show shortcuts.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6336 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
138742401f
- improved handling of highlighting of current parameter
...
- added SYNC to EndOfStmt to allow parser to continue at EOL and : in VB
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6335 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
2dfc2946aa
Moved "Find derived classes", "Find base classes", "Find overrides" to Class/Member menu builders, where they logically belong. Now they are available also in class browser.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6334 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
f46f076fbc
Moved context menu items from submenu to top level.
...
Removed goto from RefactoringMenuBuilder. Commented part calling RefactoringService.FixIndexerExpression - the menu for indexer seems to work well.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6332 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
13e4f5a65b
- Removed context menu items which are now represented by Context actions (it will be possible to add context actions also to any menu if we decide to do so). ResolveExtensionMethod and ResolveAttribute will be implemented as context actions soon.
...
- ParserService.ParseCurrentViewContent() when getting context actions, so that the DOM is up to date. Context actions will be moved to background thread.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6331 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
c89b7a5e29
implemented SD-631 for VB .NET
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6329 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
f1d761cde7
created IInsightWindowHandler (general API)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6325 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
c7e652c78a
extracted insight window handling to InsightWindowHandler
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6324 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
a19f10d222
- fixed infinite loop in VBNetExpressionFinder
...
- fixed context detection at Inherts/Implements
- removed unused variable from VBNetBracketSearcher
- added InsightWindowHandler
- implemented method insight in VB
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6322 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
df3be24a76
Fix build errors after merge.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6320 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
4139e71afa
Fix IsTypeInInheritanceTree for classes differing only in numbers of type parameters.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6318 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
08dd0f5144
Expand all menu builders in main menu once at startup to ensure that all shortcuts get registered. Fixed issue "Properties window not brought to front using keyboard shortcut"
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6314 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
295c4abfe9
Combine Run/Continue on F5. Move FindDerivedClassesOrOverrideCommand to F6; change F9 back to Build Project.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6312 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
425286712b
Allow using a single shortcut for multiple main menu entries (we will use the first non-disabled item).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6311 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
c2ebe0b9b9
Disable bookmarks and breakpoints pads.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6310 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
28611767f7
Set UDC branch name for reports branch.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/reports@6309 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Matt Ward
48383a8bec
Restructured AddIns folder - removed nested AddIns\AddIns folder and added Analysis folder.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6305 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
911007af84
Report the file types opened in the text editor to UDC (but only known file types)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6300 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
c96e64b46f
Simplify code using FileFilter
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6299 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
6ebd91edac
Track feature use in UDC: snippets, NewLineConsistencyCheck, ClassMemberBookmark menu.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6298 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
8008704ce3
fixed IndexOutOfRangeException when caret is at the start of the line in EditorContext.SymbolUnderCaret
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6297 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
b241377da2
fixed unit tests (fixes build)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6294 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
8ee9c5e697
fixed NullReferenceException when working with VB files outside of a VB project
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6292 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
53f53a3320
First implementation of GUI for editor context actions.
...
A WPF Popup is shown over the editor when some actions are available. Can be opened by mouse click (TODO open by shortcut).
A Popup is probably not the best solution: it is not "tied" to current editor line anyhow so it stays open when region is collapsed, active ViewContent changes etc. (for active ViewContent change I added explicit handling). It should be probably part of editor's visual tree, in a special layer. Alternatively it could be displayed in the bookmark margin, but that would make it too small. This way it resembles ReSharper.
Have to consult this with Daniel.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6290 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
27ff6cdc30
Remove support for compact framework.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6281 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
db08b353a0
added new icon for extension methods
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6268 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
007996e7cd
Implemented "Introduce method" context action.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6258 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
75d72345f1
fixed code snippets in code completion list
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6237 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
ff3d81407a
Handle BadImageFormatException when trying to load code completion info from non-.NET dll.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6231 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
6f675509cd
implemented basic code completion in Console pad
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6228 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
b50a612d67
Revert accidentally merged change.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6223 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
David Srbecký
1f2f64e4bf
Marked #D as DPI aware
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6221 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
10f8d47731
fixed insertion of text in "surround with"
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6219 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
bcf917f92d
- fixed parser bugs
...
- fixed expression finder bugs
- implementation of some cc features
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@6207 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
9cc04d536e
Context actions: fixed logical bug when resolving class declarations on current line by name - more classes with same name and different type arguments can exist, of course.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6201 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
6a3116d7ff
Implemented "Add using" editor context action.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6199 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
7338344014
Decoupled "Add using" functionality from context menu building.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6196 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
47ee9924e7
"Implement abstract class" editor context action.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6194 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
05cb4df472
implemented ., ... and .@ operator for XML Literals
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@6193 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
3219079f94
- removed IOption
...
- replaced with IVBNetOptionProvider
- XDocument, XElement, XComment, XProcessingDirective, XCData will be correctly resolved
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@6191 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
6f9028b875
implemented Options in Dom. Option Infer On/Off, turn Type Inference on and off
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@6190 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
b67dfce2bb
Fix recently introduced bug when opening files with other than C#/VB content.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6188 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
7b318f80a1
"Implement interface" and "Implement abstract class" editor context menu items are shown only when needed (that is the class/interface is not yet implemented).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6186 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
0d04541240
- reimplemented TryTypeInference feature as CC item "? ="
...
- fixed bugs with expressions expecting Type context.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@6184 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
2315172e5f
Refactoring: decoupled code to implement abstract class from building the menus.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6183 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago