分享

SharpDevelop 快捷键

 nxhujiee 2019-01-06

Keyboard Shortcuts/快捷键


The list of shortcuts is grouped by working areas, primary according to main menu items./快捷键列表是按工作区域进行分组,主要根据主菜单项目

The following main menu items have no shortcuts:/下面主菜单没有快捷键

  • Refactoring/重构
  • Format (in designer mode)/格式(在设计模式)

(All shortcuts are in alphabethic order: Shift, Ctrl, Ctrl-Shift, Ctrl-Alt, Alt, Alt-Shift)(所有快捷键都按照英文字母排序:Shift, Ctrl, Ctrl-Shift, Ctrl-Alt, Alt, Alt-Shift)

Note: Descriptions, that contain '???' characters in the MenuItem column, may be incorrect because I never used this feature or my English has gaps. I'll bother to correct these sentences after connecting the #D developers./注:说明,包含'??'MenuItem的列中的字符,可能是不正确的,因为我从来没有使用此功能或我的英语水平有差距。我就懒得去纠正这些句子连接后,#D开发商。

Editor 1: Move Caret, Select Text

These shortcuts work as Windows standard./这些快捷键Windows标准。

ShortCut/快捷键 MenuItem/菜单项 Feature, Description/特征,说明
Insert Toggle insert mode/切换插入模式
Delete Delete selected text or single object/删除选中的文本或单个对象
Left
Shift-Left
Ctrl-Left
Ctrl-Shift-Left
Set caret one character to the left/插入字符到字符串的左边
Select one character to the left/选择一个字符的左侧
Set caret one word to the left/设置插入符一个字的左边
Select one word to the left/选择一个字的左边
Right
Shift-Right
Ctrl-Right
Ctrl-Shift-Right
Set caret one character to the right/插入字符到字符串的右边
Select one character to the right/选择一个字符的右边
Set caret one word to the right/设置插入符一个字的右边
Select one word to the right/选择一个字的右边
Up
Shift-Up
Ctrl-Up
Set caret one line upwards/设置插入符一行向上
Select one line upwards/选择一行向上
Scroll one line upwards/滚动一行向上
Down
Shift-Down
Ctrl-Down
Set caret one line downwards/设置插入符一行向下
Select one line downwards/选择一行向下
Scroll one line downwards/滚动一行向下
Home
Shift-Home
Set caret to the start of the line/设置插入字符到行的开始
Select from caret to the start of the line/选择从插入符开始行
Ctrl-Home
Ctrl-Shift-Home
Set caret to the start of the text/设置插入字符到文本开始处
Select from caret to the start of the text/选择从插入符号的文字开头
End
Shift-End
Set caret to the end of the line/设置插入符在行末尾
Select from caret to the end of the line/选择从插入符行末尾
Ctrl-End
Ctrl-Shift-End
Set caret to the end of the text/设置插入字符到文本末尾
Select from caret to the end of the text/选择从插入符号的文字末尾
PageUp
Shift-PageUp
Set caret one page upwards/设置插入符的一个页面向上
Select from caret one page upwards/从插入符号一页向上的选择
PageDown
Shift-PageDown
Set caret one page downwards/设置插入符的一个页面向下
Select from caret one page downwards/从插入符号一页向下的选择
ShortCut MenuItem Feature, Description
Ctrl-Delete Delete Word/删除字
Ctrl-Backspace Word Backspace, i.e. delete word backwards/自动删除后面的单词
Ctrl-A Edit > Select All/选择所有 Select All the text/objects
Ctrl-C
Ctrl-Insert
Edit > Copy/粘贴 Copy the selection to clipboard
Ctrl-V
Shift-Insert
Edit > Paste/复制 Insert (paste) from clipboard
Ctrl-X
Shift-Delete
Edit > Cut/剪切 Extract the selected text/object
Ctrl-Y Edit > Redo/重做 Redo the last change(s)
Ctrl-Z
Alt-Backspace
Edit > Undo/撤销 Undo the last change(s)
ShortCut MenuItem Feature, Description
Escape Editor mode/编辑模式
Designer mode/调试模式
Clear all selections
Go to default property in the property grid
Ctrl-Space Show a list containing members of thecurrent object 显示一个列表,其中包含当前对象的成员
Ctrl-Enter Context/上下文 Goto Definition
Alt-Insert Tools > Auto code generation/代码自动生成 Auto code generation: open a dialog where you can select special items
Ctrl-PageUp
Ctrl-PageDown
Toggle mode between editor mode and designer mode/编辑模式切换
Ctrl-Divide
Ctrl-OemQuestion
Toggle comments related to the selected source code
Ctrl-D Delete current line/删除当前行
Ctrl-Shift-D Delete from caret until end of line/删除当前到行尾的字符
Ctrl-Shift-G Edit > Insert

Insert new GUID

GUID insert/GUID 插入
Ctrl-I Edit > Format > Indent Indent adaptation: The indent of the selected text will be changed in the way it is set in options and needed by code structure./适应缩进:将选定的文本缩进改变的方式,它被设置在选项和代码结构所需要的。
Ctrl-J Code Templates: Open a dialog to choose a pre-defined code snippet; you can edit them in: Tools > Options > Coding > Code Templates/代码模板:打开一个对话框,选择一个预先定义的代码片段,您可以编辑他们:“工具”>“选项”>“编码>代码模板
Ctrl-Shift-L Edit > Folding
Toggle all folds
Code folding: Switch all foldings/代码折叠:将所有的折叠
Ctrl-Shift-M Edit > Folding
Toggle fold
Code folding: Switch folding of the current section; to do so you must set the cursor in the first line of this section/代码折叠:交换当前部分折叠,所以你必须在本节的第一行设置光标
Ctrl-Shift-P Edit > Folding
Show definitions only/仅显示定义
Code folding: Show definitions only
Tab Indent selected code/所选代码缩进
Shift-Tab Dedent selected code
ShortCut MenuItem Feature, Description
Ctrl-N File > New > File New file: Start to create a new file, either as part of the current project or as single file/开始创建一个新的文件,无论是作为当前项目的一部分,或作为单个文件
Ctrl-Shift-N File > New > Solution New solution: Start to create a new solution
Note: There is no shortcut to add a project to the current solution./开始创建一个新的解决方案注:有没有快捷方式添加到当前解决方案项目。
Ctrl-O File > Open > File Open file: Open an existing file/打开一个现有的文件
Ctrl-Shift-O File > Open
Project/Solution
Open project or solution: Open an existing project or solution/打开一个现有的项目或解决方案
Ctrl-S File > Save Save the current file/保存当前文件
Ctrl-Shift-S File > Save all Save all open files if changed/保存所有打开且修改过的文件。
Ctrl-Shift-U File > Reload file Reload the current file; all changes are rejected/刷新当前文件,所有的改变都驳回
F2 Explorer Context Rename file or item
Note: F2 has another meaning in the source code editor; see the "Bookmarks" section./重命名文件或项目注:F2在源代码编辑器中有另一个意思,见“书签”一节。
Ctrl-F4 File > Close > File Close the current file/关闭当前文件
Ctrl-Shift-F4 File > Close > Solution Close the current solution/关闭当前的解决方案
ShortCut MenuItem Feature, Description
Ctrl-P File > Print Print the current file.
Note: you can only print source code, but not the image of a form.
Alt-F4 File > Exit Exit the application
ShortCut MenuItem Feature, Description
Ctrl-Shift-B View > Boo Interpreter
???
Show the Boo interpreter (lower side)/显示Boo的解释器(下部)
Ctrl-Shift-C View > Classes Show all Classes of the solution (right side)/显示所有类别的解决方案(右侧)
Ctrl-Alt-D View > Server Explorer
???
Show the Server (Database) Explorer, i.e. the data classes of the solution (right side)/显示服务器(数据库)资源管理器“中,即数据类的解决方案(右侧)
Ctrl-Alt-F View > Tools > Files Show the File Explorer this is an explorer independent of the solution‘s files (left side)/显示文件浏览器,这是一个独立的解决方案资源管理器中的文件(左侧)
Ctrl-Alt-G View > Tools
??? > Code Coverage
Code-Coverage (lower side)/代码覆盖(下部)
Ctrl-Alt-K View > Errors Show compile Errors and warnings (lower side)/显示编译错误和警告(下部)
Ctrl-Alt-L View > Project Explorer Show a tree view containing a solution's Projects and all references and files (left side)/显示的树视图包含一个解决方案的项目,所有的引用和文件(左侧)
Ctrl-Alt-O View > Output
???
Show the Output window containing messages while compiling (lower side)
??? Is it able to use this window for Console.WriteLine() while running an application?
Ctrl-Alt-X View > Tools Show the Toolbox containing especially the designer controls (left side)
Note: In the View menu there are two items named Tools: this one and another one with subitems to external tools.
F4 View > Properties Show the PropertyGrid (right side)
Note: You cannot go directly to the property grid via F4, you must use the mouse.
ShortCut MenuItem Feature, Description
Ctrl-Q Tools > Quick XML Doc
???
Create a Quick XML documentation/创建快速的XML文档
Ctrl-Alt-Q View > Tools > Report Explorer
???
Show the Report Explorer/显示报告浏览器
Ctrl-Alt-R Tools > Report Generator
???
Call the Report Generator SharpReport/呼叫报告生成SharpReport
Ctrl-Alt-T View > Tools > Unit Tests
???
Show the Unit Testing list/显示单元测试列表
ShortCut MenuItem Feature, Description
Ctrl-Alt-C > Callstack
???
Show the Callstack (i.e. stack trace)/显示调用堆栈(即堆栈跟踪)
Ctrl-Alt-H > Threads
???
Show the Threads (right side)/显示线程(右侧)
Ctrl-Alt-P > Breakpoints Show the Breakpoints (right side)/显示“断点”(右侧)
Ctrl-Alt-U > Loaded modules
???
Show the Units / Modules/显示单元/模块
Ctrl-Alt-V > Local variables Show the Local Variables/显示局部变量
ShortCut MenuItem Feature, Description
F8 > Build Solution Build all projects of the solution
Alt-F8 > Rebuild Solution Rebuild all projects of the solution
F9 > Build (project name) Build activated project
Alt-F9 > Rebuild (project name) Rebuild activated project
ShortCut MenuItem Feature, Description
Ctrl-Alt-B > Break Break debugging: Try to stop executing and to show the current instruction
F5 > Run Run application: If configuration is set to debug, then run with debugger; if it es set to release, then run without debugger.
Note: 1- If a project is set as start project, then F5 will always try to start that project and prebuild referenced assemblies; if you want to start another project, you should sign this project in project explorer and start it via context menu.
2- After breakpoint, you have to press F6 to continue (not F5).
Ctrl-F5 > Run without debugger Run application without debugger
F6 > Continue debugging Continue debugging: Continue to run the application without new stops until the next breakpoint is reached
F7 > Toggle breakpoint Toggle breakpoint: Switch on or off a breakpoint at the current source code line
F10 > Step over Run Next Instruction; if this one calls another method, then that method's debugging is stepped over
F11 > Step into Run Next Detailed Instruction; if this one calls another method, then that method's instructions are debugged step by step
Shift-F11 > Step out Run application until the current method is finished
ShortCut MenuItem Feature, Description
Ctrl-E > Incremental Search Begin to search forward for one or more Characters Incremental until you press any non-character key or no match is found
Ctrl-Shift-E > Reverse
Incremental Search
Begin to search backward for one or more Characters Incrementaluntil you press any non-character key or no match is found
Ctrl-F > Find Open the extensive Find Dialog window
Ctrl-G > Goto Line Number Open a GoTo Dialog window where you can search for line numbers and/or class names/打开转到对话框窗口,在那里你可以搜索行号和/或类名
Ctrl-R > Replace Open the extensive Find Dialog window with replace possibilities
F3 > Find Next Repeat searching for the text set in FindDialog
Ctrl-F3 > Find Next Selected Go to the Next Occurrence in the search results window
ShortCut MenuItem Feature, Description
Ctrl-B > Goto Matching Brace If the caret's position is behind a bracket, you'll move the caret to the matching bracket. This works for '(', ')', '[', ']', '{', '}', but not '<', '>'.
F2 > Next Bookmark Go to Next Bookmark
Ctrl-F2 > Toggle Bookmark Toggle Bookmark: Switch a bookmark at the current line on or off
Alt-F2 > Prev Bookmark Go to Previous Bookmark
ShortCut MenuItem Feature, Description
Ctrl-Tab Window > Next Window Go to Next Window in the editor range
Ctrl-Shift-Tab Window > Prev Window Go to Previous Window in the editor range
Shift-Esc Toggle Maximizing the source window (toggles Plain layout)
Ctrl-PageUp
Ctrl-PageDown
Toggle mode between editor mode and designer mode
ShortCut MenuItem Feature, Description
F1 > Context help Show suitable search results for the current term
Ctrl-F1 > Dynamic Help Show dynamic suitable search results for all current terms
Alt-F1 > Help Topics Show the main page of SharpDevelop Wiki
Alt-Ctrl-F1 > Contents Enable to look for any term
Shift-Alt-F2 > Index results Enable to look for a specific term
Alt-Ctrl-F2 > Index Show the index of the .NET documentation
Alt-Ctrl-F3 > Search Enable to look for a specific term

Last edited by DanielGrunwald, 4 years ago

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多