Original Ctrl+Space (types shown when user starts typing in the editor) still always shows types from all referenced projects. Maybe we could change this to show only items from imported namespaces by default, and all items for Ctrl+Space press, for consistency (ReSharper-like). If we want this, NRefactoryResolver.CtrlSpace() method is ready for this change. I am not sure yet, I quite like current state (all types shown in CC don't bother me), but it is a little inconsistent.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5845 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
- added PropertyPathTokenizer and PropertyPathParser
- added unit tests
* fixed an "off by one" error in TaskService
* corrected typo in MemberResolveResult documentation
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4600 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Fixed code completion on generic new expressions ("var a = new List<string>();")
Make ResolveResult immutable because it can be cached by the resolver.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2993 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Fixed page up/page down in text editor: confusion between character and pixel coordinates caused caret to move to the wrong column.
Fixed crash when StartProgram or WorkingDirectory were invalid paths.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2990 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Fixed overload resolution to try overloads in base class if no overload in the derived class is applicable.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2827 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
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
- add dummy token "?" to VB lexer.
- use IntegerLiteralResolveResult that doesn't do code completion instead of returning no ResolveResult at all when resolving an integer literal.
- Implemented SD2-501: type inference when typing for both C# and VB.NET.
You can now type "? name = expr;" or "Dim name as ? = expr" and SharpDevelop will fill in the type for you.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@603 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
- do not load xml documentation keys into memory but load only the hash code and keep everything else cached on disk.
- made Dom's region a value-type.
- do not create a SortedList<string, IReturnType> for every using statement but only when the using statements actually uses aliases.
Overall SD should use ca. 10 MB RAM less when working on a big solution like SharpDevelop.sln.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@468 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
VB lexer now reads documentation comments.
Resolver now distinguishes between Type and Default context -> property declarations like "public Size Size {" resolve properly (TypeResolveResult for the first Size, MixedResolveResult for the second)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@267 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Added "bookmark" for classes.
Added support for finding references to classes and renaming classes.
Renamed the Erbauer/Auswerter classes.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@260 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Modified SubversionAddIn to compile against Corsavy.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@164 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61