Keyboard Shortcuts/快捷鍵
The list of shortcuts is grouped by working areas, primary according to main menu items./快捷鍵列表是按工作區(qū)域進(jìn)行分組,,主要根據(jù)主菜單項(xiàng)目
The following main menu items have no shortcuts:/下面主菜單沒有快捷鍵
- Refactoring/重構(gòu)
- Format (in designer mode)/格式(在設(shè)計(jì)模式)
(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的列中的字符,可能是不正確的,,因?yàn)槲覐膩頉]有使用此功能或我的英語水平有差距。我就懶得去糾正這些句子連接后,,#D開發(fā)商,。
Editor 1: Move Caret, Select Text
These shortcuts work as Windows standard./這些快捷鍵Windows標(biāo)準(zhǔn)。
|
ShortCut/快捷鍵 |
MenuItem/菜單項(xiàng) |
Feature, Description/特征,,說明 |
Insert |
Toggle insert mode/切換插入模式 |
Delete |
Delete selected text or single object/刪除選中的文本或單個(gè)對(duì)象
|
Left Shift-Left Ctrl-Left Ctrl-Shift-Left |
Set caret one character to the left/插入字符到字符串的左邊 Select one character to the left/選擇一個(gè)字符的左側(cè) Set caret one word to the left/設(shè)置插入符一個(gè)字的左邊 Select one word to the left/選擇一個(gè)字的左邊 |
Right Shift-Right Ctrl-Right Ctrl-Shift-Right |
Set caret one character to the right/插入字符到字符串的右邊 Select one character to the right/選擇一個(gè)字符的右邊 Set caret one word to the right/設(shè)置插入符一個(gè)字的右邊 Select one word to the right/選擇一個(gè)字的右邊 |
Up Shift-Up Ctrl-Up |
Set caret one line upwards/設(shè)置插入符一行向上 Select one line upwards/選擇一行向上 Scroll one line upwards/滾動(dòng)一行向上
|
Down Shift-Down Ctrl-Down |
Set caret one line downwards/設(shè)置插入符一行向下 Select one line downwards/選擇一行向下 Scroll one line downwards/滾動(dòng)一行向下 |
Home Shift-Home |
Set caret to the start of the line/設(shè)置插入字符到行的開始 Select from caret to the start of the line/選擇從插入符開始行 |
Ctrl-Home Ctrl-Shift-Home |
Set caret to the start of the text/設(shè)置插入字符到文本開始處 Select from caret to the start of the text/選擇從插入符號(hào)的文字開頭 |
End Shift-End |
Set caret to the end of the line/設(shè)置插入符在行末尾 Select from caret to the end of the line/選擇從插入符行末尾 |
Ctrl-End Ctrl-Shift-End |
Set caret to the end of the text/設(shè)置插入字符到文本末尾 Select from caret to the end of the text/選擇從插入符號(hào)的文字末尾 |
PageUp Shift-PageUp |
Set caret one page upwards/設(shè)置插入符的一個(gè)頁面向上 Select from caret one page upwards/從插入符號(hào)一頁向上的選擇 |
PageDown Shift-PageDown |
Set caret one page downwards/設(shè)置插入符的一個(gè)頁面向下 Select from caret one page downwards/從插入符號(hào)一頁向下的選擇 |
|
|
ShortCut |
MenuItem |
Feature, Description |
Ctrl-Delete |
Delete Word/刪除字
|
Ctrl-Backspace |
Word Backspace, i.e. delete word backwards/自動(dòng)刪除后面的單詞
|
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/復(fù)制 |
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/調(diào)試模式 |
Clear all selections Go to default property in the property grid
|
Ctrl-Space |
Show a list containing members of thecurrent object 顯示一個(gè)列表,,其中包含當(dāng)前對(duì)象的成員 |
Ctrl-Enter |
Context/上下文 |
Goto Definition
|
Alt-Insert |
Tools > Auto code generation/代碼自動(dòng)生成 |
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/刪除當(dāng)前行
|
Ctrl-Shift-D |
Delete from caret until end of line/刪除當(dāng)前到行尾的字符
|
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./適應(yīng)縮進(jìn):將選定的文本縮進(jìn)改變的方式,它被設(shè)置在選項(xiàng)和代碼結(jié)構(gòu)所需要的,。 |
Ctrl-J |
Code Templates: Open a dialog to choose a pre-defined code snippet; you can edit them in: Tools > Options > Coding > Code Templates/代碼模板:打開一個(gè)對(duì)話框,,選擇一個(gè)預(yù)先定義的代碼片段,您可以編輯他們:“工具”>“選項(xiàng)”>“編碼>代碼模板 |
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/代碼折疊:交換當(dāng)前部分折疊,,所以你必須在本節(jié)的第一行設(shè)置光標(biāo) |
Ctrl-Shift-P |
Edit > Folding Show definitions only/僅顯示定義 |
Code folding: Show definitions only
|
Tab |
Indent selected code/所選代碼縮進(jìn) |
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/開始創(chuàng)建一個(gè)新的文件,,無論是作為當(dāng)前項(xiàng)目的一部分,或作為單個(gè)文件 |
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./開始創(chuàng)建一個(gè)新的解決方案注:有沒有快捷方式添加到當(dāng)前解決方案項(xiàng)目,。 |
Ctrl-O |
File > Open > File |
Open file: Open an existing file/打開一個(gè)現(xiàn)有的文件 |
Ctrl-Shift-O |
File > Open Project/Solution |
Open project or solution: Open an existing project or solution/打開一個(gè)現(xiàn)有的項(xiàng)目或解決方案 |
Ctrl-S |
File > Save |
Save the current file/保存當(dāng)前文件 |
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/刷新當(dāng)前文件,,所有的改變都駁回 |
F2 |
Explorer Context |
Rename file or item Note: F2 has another meaning in the source code editor; see the "Bookmarks" section./重命名文件或項(xiàng)目注:F2在源代碼編輯器中有另一個(gè)意思,,見“書簽”一節(jié)。 |
Ctrl-F4 |
File > Close > File |
Close the current file/關(guān)閉當(dāng)前文件
|
Ctrl-Shift-F4 |
File > Close > Solution |
Close the current solution/關(guān)閉當(dāng)前的解決方案 |
|
|
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)/顯示所有類別的解決方案(右側(cè)) |
Ctrl-Alt-D |
View > Server Explorer ??? |
Show the Server (Database) Explorer, i.e. the data classes of the solution (right side)/顯示服務(wù)器(數(shù)據(jù)庫)資源管理器“中,,即數(shù)據(jù)類的解決方案(右側(cè)) |
Ctrl-Alt-F |
View > Tools > Files |
Show the File Explorer this is an explorer independent of the solution‘s files (left side)/顯示文件瀏覽器,這是一個(gè)獨(dú)立的解決方案資源管理器中的文件(左側(cè)) |
Ctrl-Alt-G |
View > Tools ??? > Code Coverage |
Code-Coverage (lower side)/代碼覆蓋(下部) |
Ctrl-Alt-K |
View > Errors |
Show compile Errors and warnings (lower side)/顯示編譯錯(cuò)誤和警告(下部) |
Ctrl-Alt-L |
View > Project Explorer |
Show a tree view containing a solution's Projects and all references and files (left side)/顯示的樹視圖包含一個(gè)解決方案的項(xiàng)目,,所有的引用和文件(左側(cè)) |
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/創(chuàng)建快速的XML文檔 |
Ctrl-Alt-Q |
View > Tools > Report Explorer ??? |
Show the Report Explorer/顯示報(bào)告瀏覽器 |
Ctrl-Alt-R |
Tools > Report Generator ??? |
Call the Report Generator SharpReport/呼叫報(bào)告生成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)/顯示調(diào)用堆棧(即堆棧跟蹤) |
Ctrl-Alt-H |
> Threads ??? |
Show the Threads (right side)/顯示線程(右側(cè)) |
Ctrl-Alt-P |
> Breakpoints |
Show the Breakpoints (right side)/顯示“斷點(diǎn)”(右側(cè)) |
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/打開轉(zhuǎn)到對(duì)話框窗口,,在那里你可以搜索行號(hào)和/或類名 |
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
|