Daniel Grunwald
b410bcd465
Allow routing WPF commands to SDWindowsFormsHost without setting focus on a WinForms control
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/reports@6094 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
7fb5b52dc7
Fixed DefinitionViewPad.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5948 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
ff5a719dc2
Re-read MSBuild items list when target framework is changed.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5939 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
392585c818
WpfSynchronizeInvoke.Invoke: pass exceptions to the calling thread
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5938 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
cec2f1cd99
Fix SD2-1680: DirectoryNotFoundException when creating new Form while Task List is open
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5937 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
a522eb3b74
Use [Browsable(false)] on IProject properties that should not be shown in property grid.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5934 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
4390991377
Fix ActivatePad() implementation so that it doesn't force the pad to be docked in the main window (forum-11355).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5933 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 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
16 years ago
Daniel Grunwald
78d0012368
Add comment why we can't use this.CommandBindings in SDWindowsFormsHost.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5929 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
ae955286f2
Fix SD2-1671 - Delete key is processed both by Windows Forms and WPF
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5928 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Martin Koníček
543a7bfb9a
The hint in CodeCompletion is now shown also when showing CC after dot.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5909 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Martin Koníček
0c0979c7c0
Bugfix - CodeCompletion does not insert using if user is types fully qualified type name.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5908 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Martin Koníček
f2a39ffa73
CC window shows the hint "Press Ctrl+Space to show items from all namespaces" only if Ctrl+Space was not already pressed, and only for NRefactoryCodeCompletionBinding (C# and VB languages).
...
Implementation:
- added bool ICompletionItemList.ContainsAllAvailableItems - the list tells if it could contain even more items and anyone displaying it (SharpDevelopCompletionWindow) can handle this
- bool ContainsAllAvailableItems is always true except for NRefactoryCompletionItemList returned by NRefactoryCtrlSpaceCompletionItemProvider, where it can be set to false
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5906 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
6378f749d5
UDC: Upload name of feature branch
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5888 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Martin Koníček
a5fa3e193b
CodeCompletion shows only imported types. Shows all available types on Ctrl+Space press. After using it for a few days, I found that always showing all types can be confusing, like always showing all extension methods. Now both types and extension methods need Ctrl+Space.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5882 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Martin Koníček
10c5aadd92
CodeCompletion inserts Attributes without the "Attribute" suffix (correctly - only in attribute contexts, that is [*expr*] class *expr*).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5881 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
da7842263e
Store RecentOpen lists in array (instead of joining strings)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5860 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
Daniel Grunwald
6254ed2e6c
Fix build.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5855 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
7092ebf5b0
Remove unused parameter "buildServices" from IBuildable.StartBuild.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5854 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
fcff1190af
Suppress MSB3644: The reference assemblies for framework ... were not found.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5853 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
cb0c99a10e
Report error code when deleting file fails.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5852 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Martin Koníček
8bebbe33fc
CodeCompletion after dot shows only extension methods from imported namespaces. If Ctrl+Space is pressed, all extension methods from all referenced projects are shown.
...
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
16 years ago
Matt Ward
daee118e45
Unit testing addin can now be extended with custom test runners.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5844 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
Martin Koníček
af05c72001
CodeCompletion shows only imported extension methods again (original behavior). Will show all available extension methods on Ctrl+Space.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5789 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
3f1cc8907b
Update string resources.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5777 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
2a254de132
Fixed build warnings (obsolete IsValidDirectoryName)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5776 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
3032c5504e
Project Browser: don't allow user to rename files to a new including "/" or "\", as using those invalid file names would cause a crash.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5773 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
92885625d8
Fixed SD2-1667: Putting caret into "dynamic" causes ArgumentNullException
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5770 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
b7c912794f
Fixed SD2-1666: Arrays of dynamic don't show code completion
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5769 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
f2d8009bac
Fixed NullReferenceException in TypeResolveResult.IsReferenceTo.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5767 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
Martin Koníček
b0624e744f
Show fully qualified type names in CC tooltip (to distinguish between more types with same name in the CC list).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5758 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Martin Koníček
4dc5cc48e6
The new auto-insert-using CodeCompletion now works for Extension methods too.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5757 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Martin Koníček
42b6e29d80
Fixes failing XAML test (caused by change in CodeCompletionItem.Complete()).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5756 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Martin Koníček
04457b2e8c
Attempt to fix build, Mock projects in Tests also implement 2 new methods in IProjectContent by throwing NotImplementedException.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5754 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
Siegfried Pammer
287ff50a4c
use code generator for string.Format() call in OverrideToStringMethodRefactoring (fixes invalid newlines in generated code)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5751 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
76e48b3c63
Check that properties are not set to null (the value null cannot be saved, see crash in forum-11130).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5740 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
2df23b5ee4
Fix SD2-1638: Unable to re-open SharpDevelop's window under Vista after minimizing
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5731 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
a378209c70
Fixed bug that caused VB resolver to not resolve fields of the current class within expressions like 'field(i)'.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5726 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Martin Koníček
56a5829329
Implemented CaretReferencesRenderer - highlighting of all references to symbol under caret in the editor (VS2010 like).
...
Please provide feedback (usefulness, performance, highlight color, ...)
It should have no effect on editor performance - when moving caret by holding an arrow in the editor, nothing gets executed. After the caret stops for 100ms at one place, expression under caret is resolved to e.g. hide current highlight if no expression is under caret. Then, if the caret stays in place for 1000ms, "Find references in current document" is executed (on the main thread, but it's quite fast, maybe could be moved to background thread).
The timeouts are done using two DispatcherTimers.
Added "Find references in given document" (RefactoringService.FindReferencesLocal) to RefactoringService.
Refactored RefactoringService a bit, but public API and its behavior stays unchanged.
Fixed comment of DebuggerService.HandleToolTipRequest.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5725 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
a86af717d8
Convert "list.Item(0)" to "list[0]" in VB -> C# conversion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5723 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago