Answer the question
In order to leave comments, you need to log in
Where to find all VS hotkey combinations?
Hello. VisualStudio has a number of hot keys, for example
F12 - go to the definition (class, method, etc.);
Ctrl + Shift + L - bookmark;
Ctrl + K Ctrl + W - open the bookmarks window;
Ctrl + Shift + U - convert text to upper case;
Ctrl + U - convert text to lower case;
Ctrl + Shift + V or Ctrl + Shift + Ins - paste one of the last 10 pieces of text copied to the clipboard;
Ctrl + K Ctrl + C - comment out a block of code;
Ctrl + K Ctrl + U - uncomment a block of code;
Ctrl + K Ctrl + D - format the entire document;
Ctrl + K Ctrl + F - format the selected text;
Ctrl + K Ctrl + S - wrap in a construct (if-else, for loop, etc.);
Ctrl + ] - when the cursor is on a bracket, region, multi-line comment or line, this combination will allow you to see the beginning and end of this block;
Ctrl + M Ctrl + O - collapse all functions;
Where can I find a complete list of hotkeys?
thanks for the help
Answer the question
In order to leave comments, you need to log in
In the official doc. Here below there are links for specific OS https://code.visualstudio.com/docs/getstarted/keyb...
Another list is available in the menu File > Preferences > Keyboard Shortcuts
UPD: I didn’t even notice that the question was about VS and not VS Code, and threw off the link specifically for VS Code. For VS too, in the
Basic documentation: https://docs.microsoft.com/en-us/visualstudio/ide/...
All: https://docs.microsoft.com/en-us/visualstudio/ide/.. .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question