Daniel Grunwald
ea3c694316
Fixed build.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3695 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
a9eb814ba3
VB: Fixed bug in global name lookup when the using scope of the compilation unit is inside a namespace
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3694 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
e9371ce7bc
Make use of using scopes for resolving type and namespace names.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3680 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
ba290b6bf9
Add "IUsingScope" to allow representing the nesting of usings in namespaces in SharpDevelop.Dom.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3675 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 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
17 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
17 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
17 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
17 years ago
Daniel Grunwald
82bbab8aec
Forum-6859: Show code templates in code completion.
...
Templates are now inserted by pressing Tab (instead of Space).
However, when "Automatic template insertion" in the text editor options is on (new default: off), templates are also inserted when a template is chosen from the code completion list.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2932 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
cad71281f0
Fixed forum-7200, forum-7286: Exception when trying to remove lines with breakpoints
...
Improved default selection in "Go to" dialog.
SharpDevelop.Dom: Renamed IDecoration->IEntity, moved common properties in IClass and IMember into IEntity.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2931 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
fe0b68c19d
Make IClass (+ IMember, IParameter, IAttribute, ICompilationUnit .....) immutable.
...
Rewrite partial class support in DefaultProjectContent.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2929 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
b83bd6d7c8
Fixed DefaultProjectContent.GetClass implementation: inner classes nested in other inner classes were not found.
...
NRefactoryResolver: Fixed attribute constructor lookup. Resolve attribute arguments in the context of the decorated class.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2822 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
f4d79bc951
Improved finding xml documentation (now supports redirections). Add support for compiling for Compact Framework 3.5.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2743 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
8f2e284793
Allow choosing the target framework when creating a new project.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2739 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
44fcb45530
FxCop AddIn: allow suppressing assembly-wide messages (e.g. AssembliesShouldHaveValidStrongNames)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2729 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
6bd9f43482
WinFormsUI/License.txt: disable Copy to Output Directory.
...
Fixed a bug that could cause a file to be registered multiple times in the project content, showing all class members twice in the "quick class browser".
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2724 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
60d3c8b7e3
Fixed bug introduced in revision 2688 that could cause non-partial classes to become a CompoundClass with two identical parts when the file is edited.
...
This caused symptoms like seeing fields and properties twice in the code completion drop-down, seeing method overloads twice; and indirectly caused several problems with the Rename refactoring.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2699 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
9dbecc48ee
Implemented SD2-1371: Use recycle bin to delete files.
...
Fixed bug introduced in last revision that caused the unit tests to fail.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2690 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
e48a9bf413
When there are duplicate classes, treat both parts as implicitly partial. Fixes SD2-1217: Duplicate class name support in ProjectContent.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2688 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
2213306f2d
Set correct caret column when pressing return.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2643 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 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
18 years ago
Daniel Grunwald
2e258f2150
Improved SharpDevelop.Dom API.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2465 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
1918fab13c
Fixed lookup of type name in parent namespaces. (same problem as the already-fixed SD2-863, but in SearchType instead of SearchNamespace)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2411 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
bcb87bd3a2
Fixed finding generic code-completion members by their Reflection name - fixes problems with Code analysis line numbers not showing for generic classes.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2326 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
1808336a1c
Merged SD 2.1 rev. 2226:2312 to trunk.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2314 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
5e9379e6a1
Refresh assembly project contents when adding a reference.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2309 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
88cfacfba1
Fixed SD2-863: Children of current Namespace resolved in wrong order
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2137 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
dcaf24c04d
Implemented SD2-1183: Use MSBuild libraries
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2043 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
5f991c3e21
Fixed SD2-1149: Partial generic classes not correctly supported
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2030 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
eff3736f6b
Fixed SD2-1143: #Develop doesn't show 'Source / Design' tabs for VB froms created with VS 2005.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2029 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
42ab1e46fb
Fixed NullReferenceException when implicit reference (like Microsoft.VisualBasic in VB projects) cannot be loaded for code-completion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1938 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
b222c73868
Fixed SD2-1164: Code completion doesn't appears for referenced projects namespaces content.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1935 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
4af14f6adf
When target framework is set to .NET 1.0 or .NET 1.1, show code-completion specific to that .NET versions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1751 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
f22e89b7d1
Fixed code-completion bug (NullReferenceException) introduced in rev. 1661
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1666 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 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
19 years ago
Daniel Grunwald
a5ec465e77
Merged missing SharpReport resources from Corsavy.
...
Fixed some bugs in code analysis-AddIn.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1603 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
ee3b8e7273
Add "Suppress message" command to FxCop warnings on the error list
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1601 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
515b955432
Lock access to DefaultProjectContent.ReferencedContents - can be modified by main thread and solution loading thread.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1477 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 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
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
16d87fd62e
Fixed SD2-797: Code-completion for nested classes is broken
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1379 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
05c43ceb3f
Worked on FxCop integration.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1233 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
1a17634102
Fixed exception when QuickClassBrowserPanel panel was refreshing while a partial class was updated by the parser thread.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1143 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
98335d8152
Fixed SD2-426: About box / Version info tab / Copy (the clipboard seems to be set correctly, we can ignore the ExternalException)
...
Fixed SD2-684: Cannot open a new form without saving it first.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1117 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
44a402378e
Fixed SD2-680: Exception when deleting the *Designer.cs partial class file
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1102 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
0a42f77c37
Fixed StackOverflowException and endless loop when classes had cyclic inheritance. Fixed the VB expression finder for "MethodCall().MethodCall()", added unit tests for the expression finder.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@886 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
a7bbc127a9
Fixed SD2-551: Project view not always synchronising the current document
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@770 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
2deee1b7ed
Fixed SD2-552: Class Browser not Refreshing
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@712 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago