markdown Visual Studio键盘快捷键

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown Visual Studio键盘快捷键相关的知识,希望对你有一定的参考价值。


## Links
| Key | Description |
|--|--|
| VS 2017 | [Complete List](http://visualstudioshortcuts.com/2017/) -- [VS Shortcuts Cheat Sheet](https://www.dofactory.com/reference/visual-studio-shortcuts) -- [Default keyboard shortcuts](https://docs.microsoft.com/en-us/visualstudio/ide/default-keyboard-shortcuts-in-visual-studio?view=vs-2017)|
| Resharper | [Resharper Default Shortcuts](https://www.jetbrains.com/help/resharper/Reference__Keyboard_Shortcuts.html) |
## Debugging
| Key | Description |
|--|--|
| Ctrl + Shift + B | Build Solution / Project |
| F5 | Start Debugging (Inits IIS Express) |
| Ctrl + F5 | Build and run project WITHOUT debugging. Prevents console from closing. (Inits IIS Express) |
| Shift + F5 | Stop Debugging |
| F9 | Set and Toggle Breakpoint |
| Ctrl + F9 | Disable Breakpoint |
| Shift + F9 | Quickwatch an object while debugging |
| Ctrl + Shift + F9 | Delete All Breakpoints |
| F10 | Step Over |
| Ctrl + F10 | Run To Cursor |
| Alt + F10 | Apply Code Changes |
| F11 | Step Into |
| Shift + F11 | Step Out |
| Ctrl + Alt + Q | Brings up quickwatch while in debug mode. |
| Ctrl + Alt + I | Immediate Window |

## Code Editor (VS)

### Default Bindings
| Key | Description | Commands |
|--|--|--|
| Ctrl + T | Go to All  | Edit.GoToAll |
| Ctrl + G | Go to Line  | Edit.GoTo |
| Ctrl + Alt + Click | Multi-caret editing |  |
| Shift + Del | Cuts the entire line | Edit.Cut |
| Ctrl + K + D | Reformats the code (indents and all) |
| Ctrl + K + C | Comments the selected block. |
| Ctrl + K + U | Uncomments the selected block. |
| Ctrl + ' | Opens TFS Pending Changes Properties Window. |
| Ctrl + Shift + F | Find and Replace Window |
| Ctrl + K + K | Bookmarks the line |
| Ctrl + K + N | Goes to next bookmark |
| Ctrl + K | Open the bookmarks list |
| Fn + Shift + Delete | Deletes the entire row where the cursor is |
| Ctrl + M + O | Collapse to Definitions. To collapse regions also, do; Tools -> Options -> Text Editors -> C# -> Advanced -> Outlining -> "Collapse #regions when collapsing to definitions" |
| Ctrl + M + X | Expand All Outlining |
| Ctrl + C + V | Bulundugu satiri koyalayip yeni satira yapistitri |
| Alt + Up / Down | Moves the selected line |
| Ctrl + Alt + Space (Toggle) | IntelliSense Suggestion Mode |
| Ctrl + J | Force Show IntelliSense |
| Ctrl + . | Quick Actions (VS & Resharper) |
| Ctrl + - | Move back to previous cursor position |
| Ctrl + Shift + - | Move forward to next cursor position |
| Ctrl + Shift + 7 | Takes you forward in the GTD (Go to def.) stack, to the last place you invoked back |
| Ctrl + Shift + 8 | Takes you back in the GTD (Go to def.) stack, to the the last place you invoked GTD |
| Ctrl + ] | Moves the cursor to the matching brace in the document. If the cursor is on an opening brace, this will move to the corresponding closing brace and vice versa. |
| Ctrl + Shift + ] | Highlights and selects the entire code block that resides inside the same scope (brackets). |
| F12 | Go to Interface Definition (same as Resharper) |
| Ctrl + F12 | Go to Implementation (same as Resharper) |
| Alt + F12 | Peek Definition |
| Shift + F12 | See a list of references to an object |
| Ctrl + Shift + U | Changes the selected text to uppercase characters. |
| Ctrl + K, X | Snippet Picker |
| Ctrl + K, S | Surround With |
| Shift + Alt + Arrow | Block Selection |
| Ctrl + R, Ctrl + M | Extract Method Refactoring (same as Resharper) |

### Power Commands Extension
| Key | Description | Commands |
|--|--|--|
| Ctrl + Shift + T | Reopen a closed tab in the order of recency | Edit.UndoClose |

### Resharper
| Key | Description | Commands |
|--|--|--|
| Ctrl + T | Search Everywhere - Resharper - Displays a pop-up where you can start typing and find everything in your solution that matches your input. [http://www.jetbrains.com/help/resharper/2017.1/Navigation_and_Search__Search.html](http://www.jetbrains.com/help/resharper/2017.1/Navigation_and_Search__Search.html) | ReSharper_GotoType |
| F12 | Go to Declaration (same as VS) | ReSharper_GotoNextHighlight |
| Ctrl + E, C | Code Cleanup | ReSharper_CleanupCode |
| Alt + Enter | Action List | ReSharper_AltEnter |
| Ctrl + Shift + R | Extract this | ReSharper_RefactorThis |
| Ctrl + R, Ctrl + M | Extract Method Refactoring | ReSharper_ExtractMethod |

### Custom
| Key | Description | Commands |
|--|--|--|
| Ctrl + W | Close active tab | Window.CloseDocumentWindow |
| Ctrl + Shift + G | Go to File | Edit.GoToFile |
| Ctrl + Alt + R | Toggle Resharper (Suspend vs Live) | ReSharper_ToggleSuspend |
| Ctrl + Shift + V | Access Clipboard history | Edit.ShowClipboardHistory |

以上是关于markdown Visual Studio键盘快捷键的主要内容,如果未能解决你的问题,请参考以下文章

markdown Visual Studio代码设置

markdown Visual Studio Code设置中文

markdown Visual Studio代码设置

markdown Resharper / Visual Studio

markdown Visual Studio代码技巧

markdown Visual Studio代码