Mike Krüger
1b44fac5a9
* Src/PrettyPrinter/CSharp/PrettyPrintOptions.cs:
...
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: Added brace
forcement options - this enables to change bracing for some
constructs.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4769 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
4c32ea2a50
Fixed output for overloaded unary operators.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4741 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
c5a371dd2c
Fixed SD2-1572 - operators are shown as nameless methods in code completion
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4740 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
34e76133c3
Fixed SD2-1465 - Convert integer casts correctly between VB and C#
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4570 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
e051b6560f
Fixed forum-9858: problem with sizeof operator converting from C# to VB.NET
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4569 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
d23af1f02a
Fixed parsing of try statements with multiple catch clauses (bug introduced in r4526).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4530 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
fc6e55f483
* Src/Visitors/LookupTableVisitor.cs: Lookup table visitors now can
...
be re-used (they reset when they visit a compilation unit).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4527 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
ffc41d4a7c
* Src/Parser/CSharp/cs.ATG:
...
* Src/Parser/CSharp/Parser.cs: Catch clauses have now set their
correct positions.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4526 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
a4a77737bd
* Src/Visitors/LookupTableVisitor.cs: Catch variable declarations
...
are now valid in the whole catch clause, not only in the statement
block. (Required for the lookup inside the variable declaration)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4520 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
de88a9a00b
Use svn:eol-style=native for NRefactory.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4482 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
a07a78e80b
CSharpOutputTest: don't ignore whitespace.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4481 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
1489bafa98
* Src/PrettyPrinter/CSharp/OutputFormatter.cs:
...
* Src/PrettyPrinter/AbstractOutputFormatter.cs: Comments that start
line are no longer indented when outputting them.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4474 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
3ba7f361b6
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: Corrected else in
...
new line placement.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4471 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
6ace8895af
NRefactory: Fixed incorrect end column in C# type declarations.
...
Fixes forum-9578: IndexOutOfRangeException in 'Implement Interface' refactoring.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4455 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
b9ebdadd18
* Src/Visitors/AbstractAstTransformer.cs: Made node stack protected.
...
I had a complicated AST transformation where I needed to add/remove
statements this seemed to be the easiest solution for it.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4438 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
03339ba83a
Fixed build.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4417 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
80b46b6b8d
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: Improved
...
collection initializer output.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4407 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
a3b56d8ca4
* Src/PrettyPrinter/CSharp/PrettyPrintOptions.cs:
...
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: Added anonymous
method brace style.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4349 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
e0152e8500
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: Removed
...
unneccessary spaces in if section.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4342 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
64ef2a35f7
* Src/PrettyPrinter/CSharp/OutputFormatter.cs:
...
* Src/PrettyPrinter/AbstractOutputFormatter.cs: Corrected block
comment output.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4324 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
52cefeecb0
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: If statements
...
without block are now correctly indented.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4323 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
d80a5b833b
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: removed embedded
...
statement newline. (newline here is incorrect ex. printing "if (a)
Foo(); else Bar();" should be possible without forcing newline after
Foo).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4316 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
5ad991bd51
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: Correctly indent
...
embedded statements.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4315 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
a0b130adfd
Move solution from SharpDevelop/src to SharpDevelop.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/dotnet4@4249 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
f5b8a4a2df
Set TargetFrameworkVersion to 4.0
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/dotnet4@4098 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
65e94963f5
* Src/Lexer/AbstractLexer.cs: Allow white spaces as symbol
...
separator.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4007 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
ebc2f1b64f
* Src/Parser/gen.sh:
...
* Src/Parser/CSharp/cs.ATG:
* Src/Parser/CSharp/Parser.cs:
* Src/Parser/CSharp/CSharpParser.cs: Added ref/out parameters for
typed lambda expressions.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3943 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
cec95aa60d
* Src/Lexer/CSharp/Lexer.cs:
...
* Src/Lexer/AbstractLexer.cs: #if/#elif preprocessor directive now
contain the arg as string representation too (arg was null).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3937 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
5705bb78c5
* Src/Visitors/LookupTableVisitor.cs: Added IsQueryContinuation flag
...
to local lookup variables. This helps resolving the type of "from
... where ... into VAR" constructs.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3927 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
fd9e16c394
AvalonEdit code completion
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3909 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
2cbe40b6a4
Started replacing ICSharpCode.TextEditor references in SharpDevelop API with new ITextEditor interface.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3874 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
985ff63921
Revert changes to NRefactory.csproj in revision 3849 - add GlobalAssemblyInfo.cs back so that the assembly is correctly versioned.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3869 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
5c18da0470
* Src/Lexer/AbstractLexer.cs: Added null check.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3867 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
f5e37276c2
* Src/Lexer/ILexer.cs:
...
* Src/Lexer/CSharp/Lexer.cs:
* Src/Lexer/AbstractLexer.cs: Added SetConditionalCompilationSymbols
method.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3866 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
26a1551633
When handling file names, use StringComparison.OrdinalIgnoreCase instead of InvariantCultureIgnoreCase.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3863 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
b978482653
* Src/PrettyPrinter/CSharp/OutputFormatter.cs:
...
* Src/PrettyPrinter/CSharp/PrettyPrintOptions.cs:
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: Added place on new
line options.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3856 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
1e6aefef7e
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: fixed bracket
...
space output issues.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3855 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
175c1b9082
* Src/PrettyPrinter/CSharp/OutputFormatter.cs:
...
* Src/PrettyPrinter/CSharp/PrettyPrintOptions.cs:
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: Added some
formatting options.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3854 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
92086ff64b
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: Respected the
...
aroundassignment option in more constructs.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3850 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
c16eaaff79
* NRefactory.csproj:
...
* Src/PrettyPrinter/CSharp/OutputFormatter.cs:
* Src/PrettyPrinter/CSharp/PrettyPrintOptions.cs:
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: Added some options.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3849 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
f514596684
* Src/PrettyPrinter/CSharp/PrettyPrintOptions.cs:
...
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: Added some output
options.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3848 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
f71ba19cae
* Src/Parser/IParser.cs:
...
* Src/Lexer/VBNet/Lexer.cs:
* Src/Lexer/CSharp/Lexer.cs:
* Src/Lexer/AbstractLexer.cs:
* Src/Parser/AbstractParser.cs:
* Src/Lexer/Special/Comment.cs:
* Src/Parser/VBNet/VBNetParser.cs:
* Src/Lexer/Special/TagComment.cs:
* Src/Parser/CSharp/CSharpParser.cs:
* Src/Lexer/Special/SpecialTracker.cs:
* Src/Lexer/CSharp/ConditionalCompilation.cs:
* Src/Lexer/Special/PreProcessingDirective.cs:
* Src/PrettyPrinter/AbstractOutputFormatter.cs:
* Src/PrettyPrinter/CSharp/CSharpOutputVisitor.cs: Added some
nrefactory features for monodevelop.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3845 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
594359f77f
* Src/PrettyPrinter/VBNet/VBNetOutputFormatter.cs: Use
...
Environment.Newline instead of hardcoded eol terminator.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3840 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Christian Hornung
066ef2d4c3
Fixed SD2-1529 - Forms designer rewrites array field declarations.
...
Fixed NRefactory -> CodeDOM output for array types.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3833 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
f80ca05e61
New feature: Edit > Insert > Paste as comment/string.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3832 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
30c368da42
Fixed namespace handling in Boo code completion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3831 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
21d4f3cfc5
* cs.ATG:
...
* Parser.cs: Fixed unit tests.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3823 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Mike Krüger
cc5006261d
checked in some changes from monodevelop.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3822 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
21b9e13f05
Removed some obsolete methods.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3814 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
aa5981c5c8
Make DisplayBindingService public.
...
Change keyboard shortcut for debug-mode code completion to Ctrl+Space+Alt+Dot (debug builds only).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3813 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago