visual studio 2013 shortcut keys

This article will list the shortcut keys that are commonly used in Visual Studio. Using the shortcut keys correctly and skillfully will greatly improve your programming efficiency.

 

 

Project related shortcuts

 

Ctrl + Shift + B = Build Project

Ctrl + Alt + L = Show Solution Explorer

Shift + Alt + C = add new class

Shift + Alt + A = add new item to project

 

Edit related keyboard shortcuts

 

Ctrl + Enter = Insert a blank line at the current line

Ctrl + Shift + Enter = Insert a blank line below the current line

Ctrl + Spacebar = Autocomplete with IntelliSense

Alt + Shift + Arrow keys (←,↑,↓,→) = select custom part of code

Ctrl + } = match curly braces, parentheses

Ctrl + Shift + } = select text within matching brackets, brackets

Ctrl + Shift + S = save all files and projects

Ctrl+K, Ctrl+C = comment selected line

Ctrl + K, Ctrl + U = uncomment selected lines

Ctrl+K, Ctrl+D = All code is properly aligned

Shift + End = selects the entire line from the beginning to the end

Shift + Home = Select the entire line from the end to the beginning

Ctrl + Delete = delete all words to the right of the cursor

 

Navigation-related keyboard shortcuts

 

Ctrl +Up/Down = scroll the window without moving the cursor

Ctrl + - = move the cursor to its previous position

Ctrl ++ = move the cursor to the next position

F12 = go to definition

 

Debug-related keyboard shortcuts

 

Ctrl + Alt + P = attach to process

F10 = debug single stepping

F5 = start debugging

Shift + F5 = stop debugging

Ctrl + Alt + Q = Add shortcut match

F9 = set or delete breakpoint

 

Search for related keyboard shortcuts

 

Ctrl + K Ctrl + K = bookmark the current line

Ctrl + K Ctrl + N = Navigate to next bookmark

Ctrl + . = 如果你键入一个类名如Collection<string>,且命名空间导入不正确的话,那么这个快捷方式组合将自动插入导入

Ctrl + Shift + F = 在文件中查找

Shift + F12 = 查找所有引用

Ctrl + F = 显示查找对话框

Ctrl + H = 显示替换对话框

Ctrl + G = 跳转到行号或行

Ctrl + Shift + F = 查找所选条目在整个解决方案中的引用

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326317583&siteId=291194637