Siegfried Pammer
17f9b913f7
current state of NRefactory additions (broken)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5864 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
b2371e3df2
fixed FormatException and possibly thrown NotSupportedException in Token
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5863 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
62b5ddf531
replaced BuildKeywords.pl by KeywordGenerator.cs
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5828 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
96488a9045
Partially implemented Imports for XML Namespaces. See remarks in VBNET.ATG for details.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5826 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
dceee20409
started with implementation of expressions in VB .NET ExpressionFinder Parser
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5820 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
25b828694b
Add "CopyLocalWorkaround" to build. (part of fix for SD2-1670 - Allow compiling .NET 4 projects without having the .NET 4 SDK installed)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5814 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
bb1c643db3
fixed some unit tests
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5803 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
5f4ab30f4d
fixed build (hopefully)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5801 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
dfbcf6faf4
- updated visitors
...
- implemented "convert to automatic property" for VB.NET
- started implementation of "CC while you type"
- first draft of Block highlighting
- implemented bracket highlighting
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5799 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
8b0e9bb861
added experimental parser for VB .NET expression finder
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5798 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
782a0cb08d
- updated parser to support automatic properties
...
- updated output visitors, converters
- removed returnTypeAttributes from OperatorDeclaration
- added support for Initializers in automatic properties
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5784 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
bb59db87f2
[VB10]
...
- removed returnTypeAttributes from OperatorDeclaration
- implemented automatic properties in Parser
- added Initializer property
- added Unit Tests
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5783 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
85381fae41
recreated branch for VB.NET 9 and 10
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5782 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
40ef20a177
created branch for VB.NET 9 and 10
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5780 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
91e9ba0b9e
C# parser: add support for named arguments in attributes.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5779 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
95544ce215
AvalonEdit Rope: Corrections for XML documentation.
...
Analysis/ExcelReport: add automatic detection of most commonly used versions for use as 'known versions'.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5775 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
2b5707a349
Fixed VBNetOutputVisitor bug on "WithEvents" modifier.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5774 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
780118df8a
Update to Mono.Cecil 0.9.2 (commit f59c382).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5768 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
b1098071ce
Fixed ArgumentException in TextView.Redraw when deleting line in XML document.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5766 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 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
16 years ago
Daniel Grunwald
a39d830eba
Fixed SD2-784 - File still considered dirty after undoing all changes.
...
Fixed incorrect behavior of TextEditor.IsModified when continued undo groups are used.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5762 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
d8de6b3927
Fixed NullReferenceException in CodeCompletionItem.Complete.
...
Simplify some code.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5761 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
67d1aa96d3
AvalonEdit: add TextEditor.IsModified property
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5760 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 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
16 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
16 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
16 years ago
Siegfried Pammer
2fd5c0d873
replaced IndexerDeclaration by PropertyDeclaration with IsIndexer property (uses Default modifier)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5748 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
6e0521b88c
Detect when newlines are inconsistent and allow user to fix them.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5747 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
5c64642260
Fixed unhandled exceptions during UDC upload.
...
Remove dead code.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5744 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
5843430b26
Fixed C# parser bug when CheckedExpression occurs in an ExpressionStatement.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5743 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Martin Koníček
4b57bf13b2
Code completion window sizes height to content.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5741 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Martin Koníček
51f65cb98c
Fixed build, sorry.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5736 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 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
16 years ago
Daniel Grunwald
14b4c930c2
Fixed SD2-1633: Designer cannot open forms using FolderBrowserDialog with RootFolder property set
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5732 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
d6067bfc4c
Fixed conversion of VB 'static' variables to C#.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5721 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
fe6af4864b
Add workaround for Cecil bug causing unit test failure.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5713 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
86b868c728
Update to Mono.Cecil 0.9 (commit 8e50e24)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5708 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
24bf6cb70d
Fixed position of EOF token.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5705 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
d4db4a67dc
[VB9] added further unit tests for QueryExpressionVB
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5701 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
dd93e8bf9a
[VB9]
...
- Updated AST to definition of FromClause
- Updated parser
- Added Unit Tests for QueryExpressionVB
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5700 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
7741361936
[VB9]
...
- added QueryExpressionVB
- fixed grammar for Take and Skip clauses
- clauses where not added to QueryExpression
- fixed Idenitifier assignment in From clause
----
- fixed newlines in NRefactoryASTGenerator
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5697 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
db2ee49105
[VB9] Set Dom.IMethodOrProperty.IsExtensionMethod to True if <Extension> is used on VB methods.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5693 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
05660f70af
Fixed tests
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5678 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 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
16 years ago
Daniel Grunwald
b7dd5692aa
Assign fixed version number to DockPanelSuite; the auto-increment versions seems to have caused setup trouble for some people.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5675 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
493ea45a5d
Close InsightWindow when typing ')'.
...
Close code completion window after '.'-completion when deleting the dot with backspace.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5674 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
4a6c63d0a2
Don't use <TrackFileAccess>false</TrackFileAccess> because it forces a recompile every time. Move the resgen-requiring projects to .NET 4.0 instead.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5645 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
3399fb59c1
Use external BuildWorker process for compilation. Use MSBuild 3.5 for compiling projects with ToolsVersion<"4.0".
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5641 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
cf7adb39dd
Allow user to specify an encoding when opening a text file.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5627 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
ec8557da3d
Fixed SD2-1628 - Incorrect folding for VB.NET functions
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5624 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago