Siegfried Pammer
871078db99
fix #528 : Code completion doesn't scroll to pre-selection
11 years ago
Daniel Grunwald
fdb87492f5
Update to AvalonEdit 5.0.1 from the standalone AvalonEdit repository.
11 years ago
Daniel Grunwald
2fdf239254
GotoDialog and CodeCompletion-window: Fix window being closed when double-clicking the list's scroll bar.
12 years ago
Daniel Grunwald
eec385146f
Change LGPL headers to MIT header.
12 years ago
Daniel Grunwald
803d9c9f92
Fixed bug in HighlightedLine.MergeWith().
13 years ago
Daniel Grunwald
73268d6fda
Throw meaningful exception when ICompletionData.Text returns null.
14 years ago
Daniel Grunwald
2f53cc69da
Fix build.
15 years ago
Daniel Grunwald
021db4c9fa
Use InvariantCulture instead of Ordinal in CompletionList filtering.
15 years ago
Daniel Grunwald
2ee86110f6
Fixed some FxCop warnings in AvalonEdit.
15 years ago
Daniel Grunwald
f5780c2944
Apply new file headers
15 years ago
Martin Koníček
2882236cef
Moved context menu items "Implement interface" from SharpDevelop to SharpRefactoring.addin, where "Implement abstract class" is.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6125 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
6485df93ac
Code completion respects suggested item: e.g. when typing "DateTimeKind k =", the completion window pres-selects the DateTimeKind entry.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6123 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
8260a7b2ce
Fixed bug in TaskBoundLoggerFilter that caused the "Suppress message" command to not be available on FxCop warnings.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5931 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
0d742ce90f
Commented out the style for SharpDevelopCompletionWindow so that the "Set property 'System.Windows.Setter.Property' threw an exception.' Value cannot be null." crash in ctor of CompletionWindow dissapears.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5896 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
0e27d647a6
When CodeCompletion window is empty, it shows "Press Ctrl+Space to show items from all namespaces", so that user learns how to use Ctrl+Space naturally.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5891 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
91c48d4c30
Fixed bug in CodeCompletion filtering by substring.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5763 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
a9e7a20482
CodeCompletion optimization - as the user types, the filtered result is filtered again instead of always filtering the whole completion data.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5759 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
c9c3931ba4
CC shows all types from all referenced assemblies. If type which is missing using is selected, the using is added automatically. TODO make work for extension methods.
...
How I did this (please Daniel check if it's OK):
- added new method CtrlSpaceResolveHelper.AddReferencedProjectsContents()
- use this method in NRefactoryResolver.CtrlSpaceInternal() instead of CtrlSpaceResolveHelper.AddImportedNamespaceContents(), that means this will work for NRefactory languages. I believe there is no simple way to make it work for XAML, F#, Boo and Python at the same time, as they have different IResolvers that don't share any code, (although they maybe could?)
-> that means CC list always contains all referenced APIs
- Extend CodeCompletionItem.Complete() method to look if IClass being completed can be resolved in current context, and if not, add the using
The CC list gets larger now - I am profiling this to achieve the best speed possible.
Minor CC improvement:
- if there are more types with the same name, all of them are shown in CC. If user selects type which is not the one closest to current scope, CC inserts full name (e.g. if user has his own XmlNode class in current namespace, he can still choose to insert "System.Xml.XmlNode" from CC). TODO show fully qualified name in CC tooltips.
- compare to VS 2010 behavior: shows only the type that is closest to current scope (i.e. only shows user's XmlNode)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5753 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
ef7c0f1457
CodeCompletion: filtered items are shown in the same order as they were before filtering. The best match is selected.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5750 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
51f65cb98c
Fixed build, sorry.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5736 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Martin Koníček
e8d33e6fb5
CompletionList - implemented ReSharper (and VS2010)-like Code completion:
...
- search by substring
- search by camel case: writing "fs" finds "FileStream"
- filtering the items (showing only the matching ones) and sorting them by quality
- the exact old behavior (with search by camel case added) can be turned on by setting CompletionList.IsSearchByStartOnly = true
TODO make the CompletionWindow size to content when the list is short - have to ask Daniel for the best way to do this
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5735 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
79e8189c7c
Fixed SD2-1604 - Code completion does not learn commonly used items
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5676 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Daniel Grunwald
6d54b7f06a
Add chapter on code completion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5048 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
7ed5729102
Display title of #region in folding.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4838 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
a1269d8efa
Added ICompletionListWindow interface to allow AddIns to control the completion window.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4248 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
1102221b0d
AvalonEdit: added support for preselection.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3925 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
71993014c9
AvalonEdit: tooltips.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3913 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
2a3c49b6f5
AvalonEdit: display non-printable characters using their name or hex code.
...
Improved dot code completion (sort completion entries, group overloaded methods).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3907 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
f449a85a69
AvalonEdit code completion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3899 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
5380d99724
Improvements to AvalonEdit CompletionWindow. Implemented TextAreaInputHandler.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3889 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
b112845f62
AvalonEdit: implemented CompletionWindow
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3888 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
7d5a15e1ba
CodeCompletionWindow for AvalonEdit
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3873 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
dea24b0ea4
r7439@daniel-notebook (orig r3401): daniel | 2008-08-17 16:07:42 +0200
...
Remove unused IService interface.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3411 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
3bd1ab5517
SD2-1342: Remove Windows.Forms dependency from ICSharpCode.Core
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3287 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
fef7d40907
Rewritten build system. Separated solution build logic (BuildEngine) from project build logic (MSBuildEngine).
...
New features:
- Supports non-MSBuild projects.
- Setting different properties for each project in a solution.
- Build can run in a worker process
- Builds multiple projects in parallel
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2694 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Markus Palme
a1543c981e
removed unused import statements
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1965 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 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
19 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
331c44292e
Applied new header to all source files.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@230 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Mike Krüger
c4336b038c
created trunk folder.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago