Daniel Grunwald
0c51983690
NRefactory: Support parsing statements like "SomeDelegate d = GenericMethod<string>;"
...
Renamed FieldReferenceExpression to MemberReferenceExpression.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2676 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
64e7f0645d
Fixed SD2-803: Implicit interface implementations are not converted correctly to VB
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2653 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
a65659b0d3
Fixed forum-17917: Overriding properties that have get/set accessors with different visibility as the property does not insert the visibility modifier in the overriding code.
...
Overriding abstract members now inserts "throw new NotImplementedException();" instead of a call to the base method.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2613 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
50a59336df
Refactored the interface IAttribute to include useful information (type reference to the attribute type + arguments).
...
Begin work on a Xaml language binding.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2564 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Christian Hornung
86d3fdcc78
Fixed SD2-1348: "Find missing resource keys" exception when run before AmbienceService is used.
...
CodeGenerator constructor now requests initialization of the code generator options through the HostCallback.
AmbienceService keeps track of instantiated code generators to update the options when changed.
Code generator options are now also applied to code generators defined in addins.
Made default code generator options valid.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2500 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
773461f3fb
Fixed SD2-928: Code generation options are ignored
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2198 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
5d0fc5b83c
Fixed SD2-1095: Autogenerated code for IEnumerable generic interface does not compile
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2066 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
4ba9c28c71
Fixed SD2-1169: Implementing an interface containing an event produces invalid code
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2033 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Markus Palme
a1543c981e
removed unused import statements
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1965 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
c1ec80ea6a
Fixed SD2-1146: Refactoring generates invalid shared (static) declarations inside VB modules.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1875 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
c1021f1393
Fixed SD2-982: Autogenerated interface code adds property setter when only getter defined
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1873 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
c9ecec41f3
Put ICSharpCode.SharpDevelop.Dom in a separate assembly.
...
WorkbenchSingleton.SafeThreadCall is now a generic method to check that the types of the arguments match the parameter types expected by the delegate.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1661 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
19d999cf82
SD2-945: Typing a declaration of two or more variables in the same line (VB) throws exception
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1611 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
ae6de2495e
Improved NRefactory public API (moving classes to other namespaces etc.)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1609 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
9fa1b07c0c
Fixed some FxCop warnings in NRefactory.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1599 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
e6865a4baa
Reduce usage of ProjectContentRegistry.Mscorlib - we'll support multiple mscorlib project contents later (compact framework, older .NET versions etc.)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1421 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
251761f70a
Add Rename command to refactoring menu.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1391 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
af70e15281
New feature: Removed unused "using" statements.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1389 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
7ab5aec81b
Fixed SD2-765: Create OnEvent method does not work for VB methods without delegate
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1317 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
37d60be346
Fixed problem with trailing space in expressions for VB debugger tooltips.
...
DomPersistence no longer crashes when the cache index file is corrupted.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1307 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
848b87d119
Fixed "Implement interface" code generator.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1234 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
9caae3a9db
Fixed SD2-666: Code generation for EventHandler produces invalid code
...
Fixed SD2-589: Accessing disposed object on shutdown error logged
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1103 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
8cd3f6d81c
Added generator application to generate the NRefactory AST.
...
This will allow us to automatically generate the IAstVisitor and a future AstTransformer and we don't have to worry about forgetting some AST nodes.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@975 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
a48969f7f0
Fixed SD2-436: Code Autogeneration. (code is now inserted at cursor position again)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@950 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
e1e7877a49
Fixed BOO-628 - Alt+Ins code generation only works for C# and VB.
...
Alt+Ins code generators now use ICSharpCode.SharpDevelop.Refactoring.CodeGenerator.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@946 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
de20032c48
Fixed VB interface implementation code generator.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@945 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
32abb6ee5a
Change file header.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@915 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
91104f4152
Fixed SD2-559: Jagged arrays don't parse
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@747 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
605a6e924e
Fixed SD2-560: Interface implementation generator messes up arrays
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@743 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
af069a1f42
Add code completion for the "override" keyword.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@737 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
d0c6d2e5f2
Improved keyboard handling in form designer, typing text in the menu designer now works.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@720 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
d9df3a65dd
Fixed SD2-504: Explicit implementations of generic interfaces cause parser error
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@690 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
4c9c120fef
Add TreeGrid control.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@640 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
10fce36f1f
Fixed possible StackOverflowException in BooBinding. CodeGenerator can now created "Changed"-events and OnEvent-methods.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@615 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
85a45ca2ab
Allow generating interface implementations using the new CodeGenerator.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@614 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
e2d20525d9
Improved BooBinding:
...
Allow for code completion on ArrayReturnType and ConstructedReturnType even if they are encapsulated by an InferredReturnType.
Fixed code completion on arrays created through array literals or the "array" builtin.
Recognize variables created by "for" statements if their type is inferred from the element type of the enumerable object.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@610 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
a0a696f897
The commands "Create getter" and "Create property" now generate code using NRefactory. (part of SD2-436)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@607 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago