Daniel Grunwald
6c62a05f10
Fix crash in ConvertToInitializer context action.
13 years ago
Daniel Grunwald
ca103100c6
Merge some bugfixes from SharpDevelop to NRefactory.
13 years ago
Daniel Grunwald
46881e6ea2
Un-ignore some tests that were fixed
13 years ago
Daniel Grunwald
964c2afbfe
Insert after last using instead of inserting before namespace declaration.
...
This affects the placement of whitespace.
13 years ago
Daniel Grunwald
6d0f3fb02e
Add "add using" context action.
...
The unit tests are based on pull request #104 by Adam Connelly
13 years ago
Mike Krüger
191c33d7b1
[CodeAction] Fixed bug in implement interface action.
13 years ago
Mike Krüger
140fb308f0
[CodeActions] Extract method now works with comments.
13 years ago
Mike Krüger
b35db0cf21
[CodeAction] Improved create event invocator action.
13 years ago
Mike Krüger
08ee807d18
[CodeAction] Fixed bug in create field/property action.
13 years ago
Mike Krüger
e1760a55d0
[CodeAction] Fixed bug in create property code action.
13 years ago
Mike Krüger
b1a5ccffb1
[CodeAction] Fixed bug in create field/property action.
13 years ago
Mike Krüger
8e1ed7e962
[Refactoring] Format text can now take a node list to format / fixed a
...
formatting issue.
13 years ago
Daniel Grunwald
c3f46aadfb
Move some code actions from 'CodeActions' namespace to refactoring namespace, to be consistent with all other code actions.
13 years ago
Lopatkin Ilja
4b3f83be72
Implemented code action to sort usings
13 years ago
Daniel Grunwald
980a367bad
Merged some changes from SharpDevelop to NRefactory.
13 years ago
Daniel Grunwald
f558b300e7
Revert "[AST] Handled protected and/or internal on AST level."
...
"protected internal" and "internal protected" are the same thing in C#.
Both map to ProtectedOrInternal; the ProtectedAndInternal accessibility is
not usable from C#.
This reverts commit b5ad2882ca
.
13 years ago
Mike Krüger
b5ad2882ca
[AST] Handled protected and/or internal on AST level.
13 years ago
Mike Krüger
fc72147b88
[Refactoring] Script now corrects the formatting of inserted &
...
replaced nodes.
13 years ago
Simon Lindgren
13f67510b6
[CodeIssues] Don't crash in StatementToInitializerConverter on assignments to members.
...
(Probably) fixes Xamarin bug #6810 .
13 years ago
Daniel Grunwald
4a337b8ed1
[CodeActions] fixed bug implemented 'protected internal abstract' members.
...
The 'internal' modifier is necessary in overrides if they are inside the same assembly as the abstract member.
13 years ago
Mike Krüger
a2e370fe2d
[CodeActions] Fixed implement abstract members bug.
13 years ago
Mike Krüger
3001fae71f
[CodeAction] Fixed bug in create class declaration action.
13 years ago
Mansheng Yang
862e3d3156
[CodeActions] PutInsideUsingAction: remove trailing Dispose() invocation
13 years ago
Mansheng Yang
0270ce48b0
[CodeActions] CreateOverloadWithoutParameterAction: fixed missing ref/out in generated call
13 years ago
Mansheng Yang
84126bbddc
[CodeActions] ConvertAsToCastAction: fixed some parentheses issues
13 years ago
Mansheng Yang
e23568fc51
[CodeActions] ConvertCastToAsAction: insert parentheses when necessary
13 years ago
Mike Krüger
1b41ee02ca
[CodeAction] Convert lambda to delegate action no longer puts a
...
redundant () in the anonymous delegate.
13 years ago
Mike Krüger
24c0222e20
[CodeAction] Fixed bug in splet declaration and assignment action.
13 years ago
Mansheng Yang
aedf4e20cc
[CodeActions] ConvertImplicitToExplicitImplementationAction: removed a redundant test
13 years ago
Mansheng Yang
c461c7b382
[CodeActions] ConvertConditionalToIfAction: check context location
13 years ago
Mansheng Yang
0140f2df18
[CodeActions] ConvertCastToAsAction: fixed tests
13 years ago
Simon Lindgren
76670db70c
[CodeActions] Add ConvertLambdaToAnonymousDelegateAction.
13 years ago
Simon Lindgren
1797fa2c04
[CodeActions] Add convertAnonymousDelegateToLambdaAction.
13 years ago
Mike Krüger
ddd341b42b
[CodeActions] Fixed bug in create backing store.
13 years ago
Daniel Grunwald
16aa0c6c28
Rename IParsedFile -> IUnresolvedFile to make clear it belongs to the unresolved type system.
13 years ago
Simon Lindgren
d69abeae95
[CodeActions] Handle resolution errors in IterateViaForeachAction.
13 years ago
Daniel Grunwald
273178a141
Rename CompilationUnit to SyntaxTree.
13 years ago
Simon Lindgren
17cdd1fabd
[CodeAction] Add ConvertInitializerToExplicitInitializationsAction.
13 years ago
Daniel Grunwald
cc37a7179d
TypeSystemAstBuilder: do not specify accessibility on accessors unless necessary.
...
Ported some SD4 unit tests to NR5.
13 years ago
Daniel Grunwald
0f82920267
GenerateProperty: do not propose to generate a setter if the field is readonly.
13 years ago
Simon Lindgren
522d6c6cbd
[CodeActions] Fix bugs in ConvertToInitializer.
13 years ago
Simon Lindgren
88d89e7f98
[CodeActions] ConvertToInitializer: Handle collections with Add() calls taking multiple arguments.
13 years ago
Simon Lindgren
e384bfba0f
[CodeActons] Handle more edge cases in ConvertToInitializer.
13 years ago
Simon Lindgren
4dbac01d20
[CodeActions] Fix bugs in ConvertToInitializerAction.
13 years ago
Mansheng Yang
f5d0318106
[CodeAction] JoinStringAction: handle the case when left operand is a BinaryOperatorExpression
13 years ago
Mansheng Yang
93fae44c4b
[CodeAction] Added JoinDeclarationAndAssignmentAction
13 years ago
Mansheng Yang
5307b168eb
[CodeAction] Added JoinStringAction
13 years ago
Mansheng Yang
c71b3fa25f
[CodeAction] NegateRelationalExpressionAction: improved tests
13 years ago
Mansheng Yang
fa9d5acfac
[CodeAction] Added NegateRelationalExpressionAction
13 years ago
Mike Krüger
4f70f16149
[CodeActions] Implemented abstract members action/Improved implement
...
interface action & fixed unit tests.
13 years ago