Visual studio high-efficiency plug-ins and shortcut keys
Visual studio supports plug-in installation (Tools -> Extension Manager) since 2010. Here are a few plug-ins recommended, which can greatly improve development efficiency:
Visual Assist X(VAssistX)
VAssistX is a plug-in developed by wholetomato company ( https://www.wholetomato.com/ ), the purpose is to improve the development experience of vs IDE, the more commonly used and efficient shortcut keys are:
alt + g | Quickly locate the declaration and definition of a function or variable, which is many times faster than F12. Sometimes it can be used in combination with F12 when it is not easy to use. |
shift + alt + o | Quickly find and open all project files in a solution |
shift+alt+s | Quickly find all symbols in a solution, including classes, class member variables, functions, etc. |
shift+alt+f | Quickly find the variables of the clipboard, that is to say, copy or cut the variable to be found before using this shortcut key |
alt + m | Quickly browse all functions in the current file, enter some function characters to filter out the required functions |
alt + o | Quickly switch between .h and .cpp files |
VsVim
The fighter in the vim/vi editor world, needless to say, vs also supports vim, the plug-in name is VsVim, which can be found and installed in the extension manager. The use of vim can refer to the essay "vim common commands" .
VS shortcuts
Many shortcut keys of VS itself are also very useful, as listed below:
F5 | debugging |
ctrl+F5 | Do not debug, execute directly |
F7 | Generate a solution |
ctrl + alt + F7 | Regenerate the solution |
F9 | set breakpoint |
F10 | Step-by-step debugging |
F11 | Step-by-step debugging |
F12 | Locating variables or function definitions |
ctrl+tab | Switch between open vs windows |
ctrl+z | revoke |
ctrl+shift+z | Cancel revocation |
ctrl+s | keep |
ctrl+- | go back to the previous cursor position |
ctrl+shit+- | advance to the next cursor position |
ctrl+k+c | Notes |
ctrl+k+u | uncomment |
ctrl+k+f | Formatting code (auto-alignment) |
Right mouse button -> Locate In Solution | Locate the current file to the position in the solution (with VAssist's shift+alt+o, it's an artifact) |
ctrl+u | Change all selected characters to lowercase |
ctrl+shift+u | Change all selected characters to uppercase |
ctrl+] | Switch back and forth between function start and end lines |
VxCommands
The only function currently used is that the error message can be prominently displayed in the compilation output, which is convenient for locating and editing error files and codes.
VS skin change
You can go to https://studiostyl.es/ to download the vssettings file, import the corresponding theme file in VS Tools -> Import and Export Settings, and you can have a cool and eye-friendly editing environment. The selenitic theme is strongly recommended.
VAssistX+VsVim+VS shortcut key = liberate your right hand, you know.
PS: Visual studio code, launched in 2015, supports editor modes such as vim, atom, sublime, and supports development and debugging of dozens of languages. A cross-platform editor for developing modern web and cloud applications, worth using!
http://www.cnblogs.com/chenyangchun/p/6992940.html