Daniel Grunwald
a386bdc8ca
Improved performance of code completion on variables with expensive type lookups (range variables, elements defined in XAML)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3630 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
cd400c7cc0
Fixed SD2-1474 (ClassInheritanceTree returns incorrect results)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3602 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christian Hornung
b982652de5
Add unit tests for ClassInheritanceTree, including failing (ignored) test that shows the cause of SD2-1474.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3600 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
22cc955540
Fixed some minor bugs.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3596 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Siegfried Pammer
1710bc9334
Implemented Code Completion support of -> Operator
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3591 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
825952a177
Fixed NullReferenceException for code completion on pointer variables.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3590 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
a0d768dfff
XML comments for WpfDesign.
...
Fixed NullReferenceException in MemberLookupHelper.SignatureComparer if a parameter has no return type (can happen when there are syntax errors).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3582 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
04be1cd83a
Add cache for MemberLookupHelper.GetTypeInheritanceTree. Improves performance when there are many extension methods available for code completion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3574 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
f54b4e40ab
Performance tweaks to code completion:
...
- don't duplicate search for nested classes in referenced project contents
- MemberLookupHelper.GetTypeInheritanceTree: use HashSet instead of List to find duplicate types
- DefaultClass.ClassInheritanceTree: cache the inheritance tree
Fixes SD2-1460 - Extreme delay requesting code completion for PropertyTabsCollection when Linq is imported
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3573 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
f08eb73a16
Fixed typo that caused unit test failure.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3570 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
8dd64459d5
Fixed SD2-1384: Attribute fully qualified name using wrong namespace
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3569 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
75ba08f309
Fixed code-completion resolving the wrong class when two imported namespaces contain a class with the same name but only one of the classes is accessible.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3560 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
b8d273dc27
Fixed crash in CSharpExpressionFinder when the document contains carriage return (\r) without line feed.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3544 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
a8570d9287
Fixed snippet converter C# -> VB (references to unknown properties like "this.Font" were seen as method groups, causes the converter to incorrectly add "AddressOf")
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3531 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
e3e1e91b92
Fixed unit tests (implemented missing members in MockProjectContent).
...
Make mscorlib.GetClass("System.Void").ProjectContent == mscorlib (previously it was DummyProjectContent)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3527 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
c582a32862
Fixed SD2-1446: Code completion lists private inner classes out of scope
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3525 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
61c15ff222
Update samples.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3514 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Siegfried Pammer
e0c660f7bb
Improved "Extract Method" and added IsReferenceType to IReturnType
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3512 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
35a582d4f8
Improved support for FxCop 1.36.
...
Fixed some problems in SuppressMessageCommand.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3506 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Markus Palme
585c7519f4
finished AST generation for VB.NET query expressions
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3403 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
5d2378597d
r7319@daniel-notebook (orig r3350): daniel | 2008-08-14 16:05:14 +0200
...
Fixed SD2-1440: C# expression finder fails when cast follows if statement
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3352 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
36fb0e0d5d
r7316@daniel-notebook (orig r3347): daniel | 2008-08-14 13:15:23 +0200
...
When searching references to an attribute, also look for the abbreviated name.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3349 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
ec1ff43533
r7315@daniel-notebook (orig r3346): daniel | 2008-08-14 12:12:18 +0200
...
Fixed SD2-1398: Lambda type inference fails when returning a lambda.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3348 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
8d910894e5
r7314@daniel-notebook (orig r3345): daniel | 2008-08-14 11:39:56 +0200
...
Fixed SD2-1399: Lambda type inference fails when using a lambda in an object initializer
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3347 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
c1c5eb636d
r7313@daniel-notebook (orig r3344): daniel | 2008-08-14 11:22:02 +0200
...
Fixed SD2-1400: Lambda type inference fails when using lambda in collection initializer
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3346 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
2e5b261aa0
r7312@daniel-notebook (orig r3343): daniel | 2008-08-14 10:45:11 +0200
...
Fixed SD2-1401: Code completion fails for object initializers used in field initializers
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3345 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
da8b6fa793
r7311@daniel-notebook (orig r3342): daniel | 2008-08-14 10:20:32 +0200
...
Fixed SD2-1124 'Create property' and 'Create getter' commands don't rename members variables correctly.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3344 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
80340a7ee1
r7309@daniel-notebook (orig r3340): daniel | 2008-08-14 10:00:25 +0200
...
Fixed SD2-1430: Documentation comments not found when attributes are contained in #region.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3342 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
cd5d5eebb5
r7308@daniel-notebook (orig r3339): daniel | 2008-08-14 09:31:18 +0200
...
Fixed SD2-1436: Type references in VB delegate declarations are not resolved correctly
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3341 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
cabc7d612b
r7102@daniel-notebook (orig r3301): daniel | 2008-08-06 15:45:54 +0200
...
Fixed resolving unknown types
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3301 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
2820eaa8b2
Fixed SD2-1434: Unable to go to definition for an array of objects
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3281 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
60a335a84b
NRefactoryASTConvertVisitor: convert attribute arguments (forum-8114).
...
DefaultWorkbench: Add check to prevent null getting into the PadContentCollection.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3261 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
f7817414b7
Fixed code-completion bug when calling generic extension methods with explicit type arguments.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3260 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
02bfd85792
Implemented code-completion for pointer types.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3184 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
db8ecab025
Fixed "go to definition" and "find references" for delegate invocations.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3171 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
33e5a858a2
Remove HostCallback.BeginAssemblyLoad.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3169 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
c2c5e8b021
Add log4net, NUnit, PartCover source code to Vendor.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3150 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
51b80f6f6d
Fixed SD2-1420: Variables of type 'char' are converted incorrectly from C# to VB
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3123 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
fc91d0fdd7
Fixed forum-7883: exception when converting "a += b" from C# to VB when "a" is a pointer type.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3120 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
c1a0dbbbe9
Fixed InvalidOperationException in RefactoringMenuBuilder when right-clicking on a definition immediately after adding/removing a field.
...
Fixed ParserService: two ParseInformations could be created for the same file if the file names were in different case.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3090 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
5af6034dd7
Assign positions to generated dummy type/members, this is required for the resolver to work correctly.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3089 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
3b28446cec
Add class for each code snippet conversion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3088 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
e461aa7bca
Fixed bug: In "override" completion, methods/properties were shown multiple times if they were defined in multiple base classes.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3073 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
257704fc07
Fixed NullReferenceException when resolving in incomplete method declaration.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3060 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
92ca3a3a40
Make end of block a synchronizing token. This fixes the end location of blocks with simple syntax errors, improving code completion in some cases.
...
Don't show code completion after "Type variable1, " -> IdentifierExpected context.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3059 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
8d4847e50d
Fixed SD2-1408: NRefactoryResolver throws exception using 'Remove unused imports statements'.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3055 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
86499cb66f
Fixed forum-7730: Code-completion on generic classes that derive from another generic class.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3049 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
91fe2ef2a6
Fixed bug that caused unit test failure.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3040 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
6b13b051c1
Fixed exception when a file was modified externally so that the old start position of a class is on an invalid line.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3039 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
46ff714cc1
Fixed SD2-511: Code completion in inserted line
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3023 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago