Christian Hornung
1850c9362d
Fixed SD2-1471 (Renaming MainForm event handler does not update MainForm.Designer file) by adding IFileDocumentProvider as a generalization of ITextEditorControlProvider to properly support view contents that open multiple documents.
...
Adaptations to ParserService and ParseableFileContentEnumerator to make sure they always use the most recent version of the file content.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3601 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christian Hornung
b982652de5
Add unit tests for ClassInheritanceTree, including failing (ignored) test that shows the cause of SD2-1474.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3600 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
55a20e6026
Fixed NullReferenceException in TaskListPad.IsInScope
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3598 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
22cc955540
Fixed some minor bugs.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3596 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
41b1c801ca
Fixed a problem where clicking an item in the Errors window would not show the source code if the file was being displayed in the forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3594 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
557e322065
Added show caret line option to Markers and Rulers options panel.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3593 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
662e1cf614
Added patch by Alex Prudkiy to fix sorting items in the combo box above the properties.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3592 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Siegfried Pammer
1710bc9334
Implemented Code Completion support of -> Operator
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3591 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
825952a177
Fixed NullReferenceException for code completion on pointer variables.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3590 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
0a42c419c3
Add unit test that checks that SharpDevelop.exe, BuildWorker.exe and booc.exe all use the same value for the 32-bit-flag.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3588 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
9b16a1757d
DebugOptions: EditRawProperty (=allow using MSBuild replacements)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3586 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
a0d768dfff
XML comments for WpfDesign.
...
Fixed NullReferenceException in MemberLookupHelper.SignatureComparer if a parameter has no return type (can happen when there are syntax errors).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3582 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Siegfried Pammer
122177828b
Removed unused conditional breakpoint types and improved workflow of breakpoints.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3581 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
d1945686d5
Don't fire ActiveContentChanged event during layout change; prevents unnecessary pad creation.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3579 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
2f2bff9e9a
Implemented SplitButton.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3575 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
04be1cd83a
Add cache for MemberLookupHelper.GetTypeInheritanceTree. Improves performance when there are many extension methods available for code completion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3574 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 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
18 years ago
Daniel Grunwald
f08eb73a16
Fixed typo that caused unit test failure.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3570 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
8dd64459d5
Fixed SD2-1384: Attribute fully qualified name using wrong namespace
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3569 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
0affcacda3
Host option panels in WPF window, allow WPF option panels.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3568 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
567c4e9e48
Fixed SD2-1349 - WiX setup files editor shows misleading error when unable to find any TARGETDIR Directory or DirectoryRef elements.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3567 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
f608ae96c7
Update to AvalonDock 1.1.1692.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3566 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christian Hornung
13d18f7777
Fixed SD2-1462 - Exception closing unsaved tab.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3564 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
d8da3abb1e
Add <inheritdoc/> to XML doc completion, add MIT/X11 license template.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3562 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 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
18 years ago
Daniel Grunwald
5313676a69
Make "Open containing folder in explorer" select the item.
...
Add "SharpDevelop.exe /addindir:path" command line argument to allow testing addins without having to install them.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3559 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christian Hornung
2fde2f8329
Fixed the parse information not being updated when a window is closed with discarding the changes.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3558 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christian Hornung
22b9e89c87
Fixed SD2-1461 (Exception when renaming form) and other issues with renaming forms.
...
With the new view content system we must not switch views during a save operation.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3556 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Siegfried Pammer
0cb2888c11
Added tests for VBNetFormattingStrategy; fixed inserting of end statements after single line statements; fixed SD2-1319
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3548 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christian Hornung
3a63c4b209
Attempt to fix an exception that sometimes occurs when closing the workbench while an open text editor view has a selection.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3547 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christian Hornung
214dcfa309
Workbench.ViewContentCollection now contains all view contents, including all secondary view contents.
...
The new PrimaryViewContents collection only contains the views that were originally shown in a new workbench window.
This fixes the 'Save all' button being disabled when there are changes only in secondary view contents.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3546 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
b8d273dc27
Fixed crash in CSharpExpressionFinder when the document contains carriage return (\r) without line feed.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3544 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christian Hornung
0ed5d7cf3d
Re-implemented persisting the state of view contents; the states are now saved in a single file (LastViewStates.xml).
...
Text editor no longer persists folding state because of possible problems when a file is changed externally.
OpenedFile attempts to persist the view state across reloads.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3543 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Siegfried Pammer
2800566249
Partial rewrite of VBNetFormattingStrategy; uses a lexer for indenting; bug fix of SD2-1448, SD2-1284 and SD2-866; fixed multiple UndoSteps after renaming an entity.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3540 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
d25a379fae
Removed code duplication IndentSelection<->FormatBuffer
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3537 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
a2e61aee89
Fixed SD2-1450: Large amounts of output cause OutOfMemoryException
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3535 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christian Hornung
d9265c5144
Added full support for project resources to the Windows.Forms designer. Fixed SD2-576 - Visual Studio Project Resources used in Form.
...
ResourceCodeGeneratorTool: Set BasePath so that relative file references inside ResX files work.
ParserService.GetParseableFileContent can now retrieve the file content from an OpenedFile if that exists.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3534 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
a8570d9287
Fixed snippet converter C# -> VB (references to unknown properties like "this.Font" were seen as method groups, causes the converter to incorrectly add "AddressOf")
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3531 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
e3e1e91b92
Fixed unit tests (implemented missing members in MockProjectContent).
...
Make mscorlib.GetClass("System.Void").ProjectContent == mscorlib (previously it was DummyProjectContent)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3527 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
c582a32862
Fixed SD2-1446: Code completion lists private inner classes out of scope
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3525 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
ea1c893a4a
Reduce memory consumption of CompilerMessageView. Related to SD2-1450 (Large amounts of output cause OutOfMemoryException).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3516 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
61c15ff222
Update samples.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3514 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
bb010887f8
Fixed SD2-1340 - Can specify invalid namespace in Add Web Reference dialog.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3513 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Siegfried Pammer
e0c660f7bb
Improved "Extract Method" and added IsReferenceType to IReturnType
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3512 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
4333bf1d26
Add missing documentation for WpfDesign.XamlDom.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3509 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christian Hornung
a0e0103f12
Windows.Forms designer cleanup:
...
Support "warm" reloading of designer (without full Unload/Load in view content). Happens automatically on language change -> removed own PropertyValueChanged handler.
Fixed the designer not reloading after a load error on the primary file.
Show a "please wait" label while loading.
Moved DefaultMemberRelationshipService to its own file.
Removed unused TypeDescriptorFilterService (that service is in the framework already).
Simplified IDEContainer and do actually add the grid to the container.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3508 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 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
18 years ago
Daniel Grunwald
5f0f752290
Implemented SD2-1410 - Add Existing Folder
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3502 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
56bd533b84
Fixed SD2-1294: Reloading a file should load the file using a FileUtility.ObservedLoad method
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3500 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
08ccdbccfd
Add outline view pad.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3499 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago