diff options
author | Lluis Sanchez <lluis@novell.com> | 2008-12-04 06:53:11 +0300 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2008-12-04 06:53:11 +0300 |
commit | 16441d157c88d18469401f2b1dff6e1570e3404c (patch) | |
tree | 8bc611c2497fb7150fcf1d2a253bf11483cd8bda /main/src/core/MonoDevelop.Ide/options | |
parent | 647ef502e9df418f08d4d3098d3c406bd8ead323 (diff) |
* MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs:
* MonoDevelop.Ide/MonoDevelop.Ide.Commands/ViewCommands.cs: Register a
command for each pad which activates the pad. This allows defining
shortcuts for switching between pads.
* MonoDevelop.Ide/gtk-gui/gui.stetic:
* MonoDevelop.Ide/gtk-gui/objects.xml:
* MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/KeyBindingsPanel.cs:
* MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.KeyBindingsPanel.cs:
Improved conflict checking. Show the name of the current scheme if
there aren't custom binding definitions.
* MonoDevelop.Ide/options/KeyBindingSchemeEmacs.xml:
* MonoDevelop.Ide/options/KeyBindingSchemeVisualStudio.xml: Fixed
bindings.
* MonoDevelop.Ide/Makefile.am:
* MonoDevelop.Ide/MonoDevelop.Ide.mdp:
* MonoDevelop.Ide/MonoDevelop.Ide.addin.xml:
* MonoDevelop.Ide/options/KeyBindingSchemeMonoDevelop2.xml: Added key
bindings for MD 2.0.
* MonoDevelop.Ide/MonoDevelop.Ide.Gui/Ide.cs:
* MonoDevelop.Ide/options/MonoDevelopProperties.xml: Added properties
for checking if MD is running for the first time after install or
after an upgrade.
* MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:
* MonoDevelop.Ide/MonoDevelop.Ide.Gui/ProjectOperations.cs: Added
methods for checking if a file can be executed.
svn path=/trunk/monodevelop/; revision=120666
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/options')
4 files changed, 107 insertions, 46 deletions
diff --git a/main/src/core/MonoDevelop.Ide/options/KeyBindingSchemeEmacs.xml b/main/src/core/MonoDevelop.Ide/options/KeyBindingSchemeEmacs.xml index 4adb03ddf9..50f8ab8551 100644 --- a/main/src/core/MonoDevelop.Ide/options/KeyBindingSchemeEmacs.xml +++ b/main/src/core/MonoDevelop.Ide/options/KeyBindingSchemeEmacs.xml @@ -1,39 +1,41 @@ <?xml version="1.0"?> <scheme version="1.0"> - <binding command="MonoDevelop.Ide.Commands.EditCommands.Copy" shortcut="Alt+W" /> - <binding command="MonoDevelop.Ide.Commands.EditCommands.Cut" shortcut="Control+W" /> - <binding command="MonoDevelop.Ide.Commands.EditCommands.IndentSelection" shortcut="Control+X|Tab" /> - <binding command="MonoDevelop.Ide.Commands.EditCommands.LowercaseSelection" shortcut="Control+X|Control+L" /> - <binding command="MonoDevelop.Ide.Commands.EditCommands.Paste" shortcut="Control+Y" /> - <binding command="MonoDevelop.Ide.Commands.EditCommands.Redo" shortcut="" /> - <binding command="MonoDevelop.Ide.Commands.EditCommands.SelectAll" shortcut="Control+X|H" /> - <binding command="MonoDevelop.Ide.Commands.EditCommands.Undo" shortcut="Control+Shift+_" /> - <binding command="MonoDevelop.Ide.Commands.EditCommands.UnIndentSelection" shortcut="Control+X|Shift+Tab" /> - <binding command="MonoDevelop.Ide.Commands.EditCommands.UppercaseSelection" shortcut="Control+X|Control+U" /> - <binding command="MonoDevelop.Ide.Commands.FileCommands.CloseFile" shortcut="Control+X|K" /> - <binding command="MonoDevelop.Ide.Commands.FileCommands.Exit" shortcut="Control+X|Control+C" /> - <binding command="MonoDevelop.Ide.Commands.FileCommands.NewFile" shortcut="" /> - <binding command="MonoDevelop.Ide.Commands.FileCommands.OpenFile" shortcut="Control+X|Control+F" /> - <binding command="MonoDevelop.Ide.Commands.FileCommands.ReloadFile" shortcut="" /> - <binding command="MonoDevelop.Ide.Commands.FileCommands.Save" shortcut="Control+X|Control+S" /> - <binding command="MonoDevelop.Ide.Commands.FileCommands.SaveAll" shortcut="Control+X|S" /> - <binding command="MonoDevelop.Ide.Commands.FileCommands.SaveAs" shortcut="Control+X|Control+W" /> - <binding command="MonoDevelop.Ide.Commands.SearchCommands.Find" shortcut="Control+S" /> - <binding command="MonoDevelop.Ide.Commands.SearchCommands.Replace" shortcut="Alt+Shift+%" /> - <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.CharLeft" shortcut="Control+B" /> - <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.CharRight" shortcut="Control+F" /> - <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.DeleteLeftChar" shortcut="Control+H" /> - <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.DeleteLine" shortcut="Control+U" /> - <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.DeleteRightChar" shortcut="Control+D" /> - <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.LineDown" shortcut="Control+N" /> - <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.LineEnd" shortcut="Control+E" /> - <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.LineStart" shortcut="Control+A" /> - <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.LineUp" shortcut="Control+P" /> - <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.PageDown" shortcut="Control+X|]" /> - <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.PageUp" shortcut="Control+X|[" /> - <binding command="MonoDevelop.Ide.Commands.WindowCommands.SplitWindowHorizontally" shortcut="Control+X|2"/> - <binding command="MonoDevelop.Ide.Commands.WindowCommands.SplitWindowVertically" shortcut="Control+X|3" /> - <binding command="MonoDevelop.Ide.Commands.WindowCommands.SwitchSplitWindow" shortcut="Control+X|o"/> - <binding command="MonoDevelop.Ide.Commands.SearchCommands.GotoLineNumber" shortcut="Control+X|G" /> - <binding command="MonoDevelop.ChangeLogAddIn.ChangeLogCommands.InsertEntry" shortcut="Alt+N" /> + <binding command="MonoDevelop.Ide.Commands.EditCommands.Copy" shortcut="Alt+W" /> + <binding command="MonoDevelop.Ide.Commands.EditCommands.Cut" shortcut="Control+W" /> + <binding command="MonoDevelop.Ide.Commands.EditCommands.IndentSelection" shortcut="Control+X|Tab" /> + <binding command="MonoDevelop.Ide.Commands.EditCommands.LowercaseSelection" shortcut="Control+X|Control+L" /> + <binding command="MonoDevelop.Ide.Commands.EditCommands.Paste" shortcut="Control+Y" /> + <binding command="MonoDevelop.Ide.Commands.EditCommands.Redo" shortcut="" /> + <binding command="MonoDevelop.Ide.Commands.EditCommands.SelectAll" shortcut="Control+X|H" /> + <binding command="MonoDevelop.Ide.Commands.EditCommands.Undo" shortcut="Control+Shift+_" /> + <binding command="MonoDevelop.Ide.Commands.EditCommands.UnIndentSelection" shortcut="Control+X|Shift+Tab" /> + <binding command="MonoDevelop.Ide.Commands.EditCommands.UppercaseSelection" shortcut="Control+X|Control+U" /> + <binding command="MonoDevelop.Ide.Commands.FileCommands.CloseFile" shortcut="Control+X|K" /> + <binding command="MonoDevelop.Ide.Commands.FileCommands.Exit" shortcut="Control+X|Control+C" /> + <binding command="MonoDevelop.Ide.Commands.FileCommands.NewFile" shortcut="" /> + <binding command="MonoDevelop.Ide.Commands.FileCommands.OpenFile" shortcut="Control+X|Control+F" /> + <binding command="MonoDevelop.Ide.Commands.FileCommands.ReloadFile" shortcut="" /> + <binding command="MonoDevelop.Ide.Commands.FileCommands.Save" shortcut="Control+X|Control+S" /> + <binding command="MonoDevelop.Ide.Commands.FileCommands.SaveAll" shortcut="Control+X|S" /> + <binding command="MonoDevelop.Ide.Commands.FileCommands.SaveAs" shortcut="Control+X|Control+W" /> + <binding command="MonoDevelop.Ide.Commands.SearchCommands.Find" shortcut="Control+S" /> + <binding command="MonoDevelop.Ide.Commands.SearchCommands.Replace" shortcut="Alt+Shift+%" /> + <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.CharLeft" shortcut="Control+B" /> + <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.CharRight" shortcut="Control+F" /> + <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.DeleteLeftChar" shortcut="Control+H" /> + <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.DeleteLine" shortcut="Control+U" /> + <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.DeleteRightChar" shortcut="Control+D" /> + <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.LineDown" shortcut="Control+N" /> + <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.LineEnd" shortcut="Control+E" /> + <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.LineStart" shortcut="Control+A" /> + <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.LineUp" shortcut="Control+P" /> + <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.PageDown" shortcut="Control+X|]" /> + <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.PageUp" shortcut="Control+X|[" /> + <binding command="MonoDevelop.Ide.Commands.WindowCommands.SplitWindowHorizontally" shortcut="Control+X|2" /> + <binding command="MonoDevelop.Ide.Commands.WindowCommands.SplitWindowVertically" shortcut="Control+X|3" /> + <binding command="MonoDevelop.Ide.Commands.WindowCommands.SwitchSplitWindow" shortcut="Control+X|o" /> + <binding command="MonoDevelop.Ide.Commands.SearchCommands.GotoLineNumber" shortcut="Control+X|G" /> + <binding command="MonoDevelop.ChangeLogAddIn.ChangeLogCommands.InsertEntry" shortcut="Alt+N" /> + <binding command="MonoDevelop.Ide.Commands.FileCommands.PrintDocument" shortcut="" /> + <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.GotoMatchingBrace" shortcut="Control+]" /> </scheme> diff --git a/main/src/core/MonoDevelop.Ide/options/KeyBindingSchemeMonoDevelop2.xml b/main/src/core/MonoDevelop.Ide/options/KeyBindingSchemeMonoDevelop2.xml new file mode 100644 index 0000000000..6001a33cc4 --- /dev/null +++ b/main/src/core/MonoDevelop.Ide/options/KeyBindingSchemeMonoDevelop2.xml @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<scheme version="1.0"> + <binding command="MonoDevelop.Ide.Commands.ProjectCommands.Debug" shortcut="F5" /> + <binding command="MonoDevelop.Ide.Commands.ProjectCommands.Run" shortcut="Control+F5" /> + <binding command="MonoDevelop.Ide.Commands.SearchCommands.ClearBookmarks" shortcut="Control+M|C" /> + <binding command="Pad|MonoDevelop.Debugger.BreakpointPad" shortcut="Control+D|B" /> + <binding command="MonoDevelop.Debugger.DebugCommands.Debug" shortcut="F5" /> + <binding command="MonoDevelop.Debugger.DebugCommands.StepInto" shortcut="F11" /> + <binding command="MonoDevelop.Debugger.DebugCommands.StepOver" shortcut="F10" /> + <binding command="MonoDevelop.Debugger.DebugCommands.StepOut" shortcut="Shift+F11" /> + <binding command="MonoDevelop.Ide.Commands.SearchCommands.NextBookmark" shortcut="Control+M|N" /> + <binding command="MonoDevelop.Ide.Commands.SearchCommands.PrevBookmark" shortcut="Control+M|P" /> + <binding command="MonoDevelop.Ide.Commands.SearchCommands.ToggleBookmark" shortcut="Control+M|T" /> + <binding command="MonoDevelop.Ide.Commands.WindowCommands.SwitchSplitWindow" shortcut="Control+L" /> + <binding command="Pad|MonoDevelop.Ide.Gui.Pads.ErrorListPad" shortcut="Alt+Shift+E" /> + <binding command="Pad|MonoDevelop.Debugger.LocalsPad" shortcut="Control+D|L" /> + <binding command="Pad|MonoDevelop.Debugger.StackTracePad" shortcut="Control+D|C" /> + <binding command="Pad|MonoDevelop.Debugger.DebugCommands.ExpressionEvaluator" shortcut="Control+D|Q" /> + <binding command="Pad|MonoDevelop.Debugger.WatchPad" shortcut="Control+D|W" /> + <binding command="Pad|ClassPad" shortcut="Alt+Shift+C" /> + <binding command="Pad|MonoDevelop.DesignerSupport.PropertyPad" shortcut="Alt+Shift+P" /> + <binding command="Pad|ProjectPad" shortcut="Alt+Shift+S" /> + <binding command="Pad|MonoDevelop.Ide.Gui.Pads.TaskListPad" shortcut="Alt+Shift+T" /> + <binding command="Pad|MonoDevelop.DesignerSupport.ToolboxPad" shortcut="Alt+Shift+B" /> + <binding command="Pad|ConnectionManagerPad" shortcut="Alt+Shift+D" /> + <binding command="Pad|MonoDevelop.Ide.Gui.Pads.HelpTree" shortcut="Control+F1" /> + <binding command="Pad|MonoDevelop.DesignerSupport.DocumentOutlinePad" shortcut="Control+R|U" /> + <binding command="Pad|MonoDevelop.Ide.Gui.Pads.FileScout" shortcut="Alt+Shift+F" /> +</scheme> diff --git a/main/src/core/MonoDevelop.Ide/options/KeyBindingSchemeVisualStudio.xml b/main/src/core/MonoDevelop.Ide/options/KeyBindingSchemeVisualStudio.xml index dd5704478c..1c25b04031 100644 --- a/main/src/core/MonoDevelop.Ide/options/KeyBindingSchemeVisualStudio.xml +++ b/main/src/core/MonoDevelop.Ide/options/KeyBindingSchemeVisualStudio.xml @@ -1,24 +1,55 @@ -<?xml version="1.0"?> <scheme version="1.0"> <binding command="MonoDevelop.Ide.Commands.DebugCommands.Pause" shortcut="Control+F8" /> <binding command="MonoDevelop.Ide.Commands.DebugCommands.StepInto" shortcut="F11" /> <binding command="MonoDevelop.Ide.Commands.DebugCommands.StepOut" shortcut="Shift+F11" /> <binding command="MonoDevelop.Ide.Commands.DebugCommands.StepOver" shortcut="F10" /> - <binding command="MonoDevelop.Ide.Commands.EditCommands.CommentCode" shortcut="Control+K|Control+C" /> <binding command="MonoDevelop.Ide.Commands.EditCommands.LowercaseSelection" shortcut="Control+U" /> - <binding command="MonoDevelop.Ide.Commands.EditCommands.UncommentCode" shortcut="Control+K|Control+U" /> <binding command="MonoDevelop.Ide.Commands.FileCommands.CloseFile" shortcut="Control+F4" /> <binding command="MonoDevelop.Ide.Commands.NavigationCommands.NavigateBack" shortcut="Control+-" /> <binding command="MonoDevelop.Ide.Commands.NavigationCommands.NavigateForward" shortcut="Control+Shift+-" /> - <binding command="MonoDevelop.Ide.Commands.ProjectCommands.Build" shortcut="Control+Shift+B" /> - <binding command="MonoDevelop.Ide.Commands.ProjectCommands.BuildSolution" shortcut="F7" /> + <binding command="MonoDevelop.Ide.Commands.ProjectCommands.Build" shortcut="Shift+F6" /> + <binding command="MonoDevelop.Ide.Commands.ProjectCommands.BuildSolution" shortcut="F6" /> <binding command="MonoDevelop.Ide.Commands.ProjectCommands.Debug" shortcut="F5" /> <binding command="MonoDevelop.Ide.Commands.ProjectCommands.RebuildSolution" shortcut="Control+Alt+F7" /> <binding command="MonoDevelop.Ide.Commands.ProjectCommands.Run" shortcut="Control+F5" /> <binding command="MonoDevelop.Ide.Commands.SearchCommands.FindNext" shortcut="F3" /> <binding command="MonoDevelop.Ide.Commands.SearchCommands.FindPrevious" shortcut="Shift+F3" /> <binding command="MonoDevelop.Ide.Commands.SearchCommands.ReplaceInFiles" shortcut="Control+Shift+H" /> - <binding command="MonoDevelop.Ide.Commands.SearchCommands.ClearBookmarks" shortcut="Control+Shift+F2" /> + <binding command="MonoDevelop.Ide.Commands.SearchCommands.ClearBookmarks" shortcut="Control+B|C" /> <binding command="MonoDevelop.Ide.Commands.SearchCommands.GotoLineNumber" shortcut="Control+G" /> <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.GotoMatchingBrace" shortcut="Control+]" /> + <binding command="MonoDevelop.Ide.Commands.EditCommands.FoldDefinitions" shortcut="Control+M|O" /> + <binding command="MonoDevelop.Ide.Commands.EditCommands.ToggleAllFoldings" shortcut="Control+M|L" /> + <binding command="MonoDevelop.Ide.Commands.EditCommands.ToggleFolding" shortcut="Control+M|M" /> + <binding command="MonoDevelop.Ide.Commands.EditCommands.ToggleCodeComment" shortcut="Control+K|C" /> + <binding command="MonoDevelop.Ide.Commands.ProjectCommands.AddNewFiles" shortcut="Control+Shift+A" /> + <binding command="MonoDevelop.Ide.Commands.ProjectCommands.AddItem" shortcut="Alt+Shift+A" /> + <binding command="MonoDevelop.Ide.Commands.ViewCommands.ShowNext" shortcut="F8" /> + <binding command="MonoDevelop.Ide.Commands.ViewCommands.ShowPrevious" shortcut="Shift+F8" /> + <binding command="MonoDevelop.Ide.Commands.SearchCommands.GotoType" shortcut="Control+K|Control+V" /> + <binding command="MonoDevelop.Ide.Commands.WindowCommands.SwitchSplitWindow" shortcut="Control+L" /> + <binding command="MonoDevelop.Debugger.DebugCommands.Debug" shortcut="F5" /> + <binding command="MonoDevelop.Debugger.DebugCommands.StepInto" shortcut="F11" /> + <binding command="MonoDevelop.Debugger.DebugCommands.StepOver" shortcut="F10" /> + <binding command="MonoDevelop.Ide.Commands.TextEditorCommands.DeleteToLineEnd" shortcut="" /> + <binding command="Pad|MonoDevelop.Ide.Gui.Pads.ErrorListPad" shortcut="Control+W|E" /> + <binding command="Pad|MonoDevelop.Debugger.LocalsPad" shortcut="Control+D|L" /> + <binding command="Pad|MonoDevelop.Debugger.StackTracePad" shortcut="Control+D|C" /> + <binding command="Pad|MonoDevelop.Debugger.DebugCommands.ExpressionEvaluator" shortcut="Control+D|Q" /> + <binding command="Pad|MonoDevelop.Debugger.WatchPad" shortcut="Control+D|W" /> + <binding command="Pad|ClassPad" shortcut="Control+W|C" /> + <binding command="Pad|MonoDevelop.DesignerSupport.PropertyPad" shortcut="Control+W|P" /> + <binding command="Pad|ProjectPad" shortcut="Control+W|S" /> + <binding command="Pad|MonoDevelop.Ide.Gui.Pads.TaskListPad" shortcut="Control+W|T" /> + <binding command="Pad|MonoDevelop.DesignerSupport.ToolboxPad" shortcut="Control+W|X" /> + <binding command="Pad|ConnectionManagerPad" shortcut="Alt+Shift+D" /> + <binding command="Pad|MonoDevelop.Ide.Gui.Pads.HelpTree" shortcut="Control+W|F1" /> + <binding command="Pad|OutputPad - Sortida del muntatge - 0" shortcut="Control+W|O" /> + <binding command="MonoDevelop.Ide.Commands.SearchCommands.NextBookmark" shortcut="Control+B|N" /> + <binding command="MonoDevelop.Ide.Commands.SearchCommands.PrevBookmark" shortcut="Control+B|P" /> + <binding command="MonoDevelop.Ide.Commands.SearchCommands.ToggleBookmark" shortcut="Control+B|T" /> + <binding command="Pad|MonoDevelop.DesignerSupport.DocumentOutlinePad" shortcut="Control+W|U" /> + <binding command="Pad|MonoDevelop.Ide.Gui.Pads.FileScout" shortcut="Control+W|F" /> + <binding command="MonoDevelop.Ide.Commands.ViewCommands.ZoomIn" shortcut="Control+Alt++" /> + <binding command="MonoDevelop.Ide.Commands.ViewCommands.ZoomOut" shortcut="Control+Alt+-" /> </scheme> diff --git a/main/src/core/MonoDevelop.Ide/options/MonoDevelopProperties.xml b/main/src/core/MonoDevelop.Ide/options/MonoDevelopProperties.xml index 62a9c2f999..fd0b803d62 100644 --- a/main/src/core/MonoDevelop.Ide/options/MonoDevelopProperties.xml +++ b/main/src/core/MonoDevelop.Ide/options/MonoDevelopProperties.xml @@ -1,10 +1,9 @@ <?xml version="1.0"?> -<SharpDevelopProperties fileversion="1.1"> +<SharpDevelopProperties fileversion="2.0"> <Properties> - <Property key="SharpDevelop.Gui.Dialog.TipOfTheDayView.ShowTipsAtStartup" value="False" /> - <Property key="SharpDevelop.LoadPrevProjectOnStartup" value="False" /> + <Property key="MonoDevelop.Core.FirstRun" value="True" /> + <Property key="MonoDevelop.Core.Gui.Dialog.TipOfTheDayView.ShowTipsAtStartup" value="False" /> <Property key="MonoDevelop.Gui.SdiWorkbenchLayout.MonoDevelop.Gui.WorkbenchContext" value="Default" /> <Property key="MonoDevelop.Gui.SdiWorkbenchLayout.Edit" value="Default" /> - <Property key="MonoDevelop.Gui.FileScout.ShowHidden" value="False" /> </Properties> </SharpDevelopProperties> |