Daniel Grunwald
19c6754f6c
Make "expand automatic property" available in class member bookmark.
15 years ago
Siegfried Pammer
ddf1d11037
add support for generic type parameters to InsertCtor
15 years ago
Siegfried Pammer
abef6e6f74
Implement * refactorings do now work properly with partial classes
15 years ago
Siegfried Pammer
6b5c342397
fixed caret positioning for all inline refactorings
15 years ago
Siegfried Pammer
ffc76842c1
removed Wrapper<T> and created proper DataTemplate for OverrideToStringMethodDialog
15 years ago
Siegfried Pammer
10cdfe20c7
simplified code generation in OverrideToStringMethod and added Cancel support
15 years ago
Siegfried Pammer
fcea661299
do snippet insertion in one UndoGroup
15 years ago
Siegfried Pammer
a64eda5d29
code cleanup in OverrideEqualsGetHashCodeMethodsRefactoring.cs
15 years ago
Siegfried Pammer
1c425ad58c
add code skeleton creation code in OverrideToStringMethod
15 years ago
Siegfried Pammer
d065280fa6
added InsertionContext for OverrideEqualsGetHashCodeMethodsDialog and OverrideToStringMethodDialog to make Enter and Escape working properly
15 years ago
Siegfried Pammer
8068c5bf7f
make InsertionContext mandatory for all AbstractInlineRefactorDialogs
15 years ago
Siegfried Pammer
9708c57eb6
added AddOtherMethod option to OverrideEqualsGetHashCodeMethods
15 years ago
Siegfried Pammer
2808600972
OverrideEqualsGetHashCodeMethods inserts method body of selected method, inserts default body on Cancel and code based on selected options on OK.
15 years ago
Siegfried Pammer
fb1e52677c
fixed NullReference exception in Override Completion Dialogs
15 years ago
Siegfried Pammer
c45d6c7398
added ICompletionItem parameter to Insert method
15 years ago
Siegfried Pammer
5679ccc74a
reset ctor snippet to version with public; do not generate public or static in the code
15 years ago
Siegfried Pammer
47ade843a0
Added "Select All" ToggleButton to InsertCtorDialog as proposed in http://community.sharpdevelop.net/forums/p/11764/32275.aspx#32275
15 years ago
Daniel Grunwald
f5780c2944
Apply new file headers
15 years ago
Siegfried Pammer
9950790ab1
removed file load code duplication; replaced by ParserService.GetParseableFileContent
15 years ago
Siegfried Pammer
395a8b7df0
Deleted multiple translations for "Move Down" and "Move Up" and added Global.MoveDown and Global.MoveUp
15 years ago
Siegfried Pammer
23cb8156c4
fixed exception in Deactivate on deletion of snippet; exclude constants, static fields and properties with backing field from list
15 years ago
Siegfried Pammer
5315c0e2ba
made IsAutomaticProperty static and internal, removed dependency on ITextEditor, works now with any IProperty in any class, even partial classes
15 years ago
Siegfried Pammer
5afefddcfb
InsertCtor inserts static ctor in static class
15 years ago
Siegfried Pammer
f4b26c61fb
fixed cursor positioning after finishing InsertCtorDialog, display no dialog if no fields are available
15 years ago
Siegfried Pammer
db188a23d4
fixed indentation of generated code in InsertCtor
15 years ago
Siegfried Pammer
f9ef8ccf21
first attempt to fix focus problems in inline refactor dialogs
15 years ago
Siegfried Pammer
8b9b74ca35
replaced DockPanel by StackPanel in InsertCtorDialog.xaml
15 years ago
Siegfried Pammer
cc53d590fb
simplified expression used to retrieve parameterList AnchorElement
15 years ago
Siegfried Pammer
80229423ff
enter and escape now work properly in inline refactoring dialogs
15 years ago
Siegfried Pammer
6f0dacc881
- created DefaultSnippetElementProvider for standard SnippetElements
...
- introduced SnippetInfo and changed signature of ISnippetElementProvider
- added SnippetAnchorElement
- refactored InsertCtor to insert ctor body at the same time as the dialog
15 years ago
Siegfried Pammer
2171d88a91
changed visibility of ctor of AbstractInlineRefactorDialog to protected
15 years ago
Daniel Grunwald
2fb5d59877
Fixed ArgumentNullException in SharpRefactoring.Extensions.IsUserCode
15 years ago
Siegfried Pammer
7242359a5a
added ICompilationUnit to RefactoringMenuContext to avoid using rr.CallingClass.CompilationUnit
15 years ago
Daniel Grunwald
dd9e0233ee
Add CurrentParseInformation to EditorContext. This allows retrieving the ProjectContent without requiring CallingClass!=null (fixes http://community.sharpdevelop.net/forums/t/11756.aspx )
...
Also removed some try-catch-ignore constructs.
15 years ago
Siegfried Pammer
e209002178
fix possible NullReferenceExceptions in ResolveExtensionMethod; should fix http://usagedatacollector.sharpdevelop.net/analysis/ExceptionGroup/Edit/229
15 years ago
Martin Koníček
0f5a586493
Moved "Resolve extension method" to context actions.
...
Expand selection (Ctrl+W) does not include { and } when selecting BlockStatement.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6439 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
62bcd0e7f0
Moved "Resolve attribute" to context actions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6438 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
99a3286f72
Debugger visualizers are loaded from AddInTree.
...
NullReferenceException fix in GenerateCode context action.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6430 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
914b742a6d
Split ImplementInterface and ImplementInterfaceExplicit to 2 Context action providers so they can be disabled separately.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6416 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
c81c3f73c8
First implementation of context action hiding. Selection of hidden actions is not persisted to settings yet.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6412 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
b169fe6311
- Implemented "Collapse all" context menu item in project browser.
...
- Implemented "Navigate to file in project browser" context menu item for tab in tabstrip. This does not expand nodes that have not been loaded yet; probably it should.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6400 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
a797c6740e
fixed NullReferenceException in CacheClassAtCaret.GetClass
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6397 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
58aa53cd4f
Moved "Move class to matching file name" and "Rename file to match class name" from context menu to context actions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6391 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
46060649fb
Moved "Add check for null" and "And range check" from context menu to context actions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6389 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
e0be701baa
Refactored EditorContext to allow sharing of data between Context actions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6387 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
f762d24d46
Implement interface (explicit) context action.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6382 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
c1ec7d2898
fix build (ignore unit tests for Introduce Method)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6370 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
cbc1b162e6
Added 2 context actions - Check null, Check not null. They are offered after assignments to local variables. In case they annoy you: soon it will be possible to turn off any action easily right from the actions popup.
...
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
15 years ago
Martin Koníček
d724328441
Rewrote EditorContext so that it will be more usable for implementing Context actions. It now provides AST Node at caret and its parents.
...
Next will be to move Context actions to background thread.
Found 2 bugs in IntroduceMethod (overloads and type arguments are ignored), will fix them.
Fixed NullReferenceException in NRefactoryInsightWindowHandler.HighlightParameter (when typing "," after last method parameter).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6368 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Siegfried Pammer
bd6c8f8193
- fixed NUnit reference in SharpRefactoring.Tests
...
- fixed some FxCop warnings in VBNetBinding
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6362 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago