Siegfried Pammer
ecba498007
implemented attributes, XML comments and CDATA sections
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5905 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
1fa534a080
Implemented nested XML content parsing
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5903 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
71e4c64c44
prepare for merge
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5902 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
4e76347386
NRefactory Unit Tests working again
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5901 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
ffc502648a
Lexer can read simple XML literals
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5899 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
aef001350c
- fixed VB Unit Tests
...
- started implementation of XML-Mode in VB Lexer
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5898 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
8a464f1a8c
Remove EmptyTemplate from AvalonEdit, instead re-style the CompletionListBox within SharpDevelopCompletionWindow.xaml
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5897 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 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
16 years ago
Martin Koníček
e38b228446
Changed CompletionListBox.EmptyTemplate to ContentPresenter. Attempt to provide TextBlock in SharpDevelopCompletionWindow.xaml, but nothing gets displayed.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5895 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Tomáš Linhart
19b4d75de9
Initial commit of Code Quality Analysis AddIn.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5893 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 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
16 years ago
Daniel Grunwald
f113984478
Prevent ArgumentOutOfRangeException in XmlFoldingStrategy if .NET reports XML error at line 0.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5887 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
4ba935e0a1
Remove unused references to ICSharpCode.TextEditor.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5886 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
671595277a
Update to AvalonDock 1.3.3391
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5879 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
ba9bc1ba9c
Remove AvalonDock 1.2 (prepare for update to 1.3)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5878 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
f5211322eb
extended ExpressionFinder: now works with local variables and member variables
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/vbnet@5868 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
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
Matt Ward
eeb136c17e
Fixed null reference when compiling IronPython projects or projects that explicitly do not reference mscorlib.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5862 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
6bbcfb4a7f
Update Mono.Cecil to commit a9195cc682bece967677152d7d6bc433a58d746c.
...
Should fix ArgumentException in Mono.Cecil.TypeParser.GetMetadataScope.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5858 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
3d04de0098
Fixed C# parser when casting the result of a default-expression "(int)default(short)".
...
Code cleanup in OptionPanel.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5856 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