Visual Studio has over 450 keyboard shortcuts. The most useful of which are listed below. The keyboard shortcuts are categorized by the Visual Studio activity:
Switching between Windows within Visual Studio:
Switching between Windows within Visual Studio:
- Ctrl+F6 – switch between the panes in the main code editing window.
- Shift+Alt+Enter – full-screen mode toggle.
- Alt+F6/Alt +Shift+F6 – move cursor from the main editing window to the docked windows such as Properties, Help, Server Explorer etc.
- F7 – Move to the Code Behind editing page.
- Ctrl+Shift+V – cycle through the items saved onto the clipboard ring.
- Ctrl+- (Ctrl + Hyphen) – navigate between pages (as in Internet Explorer). Use Shift Ctrl+- to move in the opposite direction
- Block Selection: – hit Alt and then select the highlight the area.
- Line No in Code – Tools>Options>Text Editor>All Languages>General>Line numbers.
- F4: Property Window
- Ctrl+Alt+L – Open and show the Solution Explorer
- Ctrl+Alt+O – Open and show the Visual Studio Output Window
- Ctrl+Alt+K – Show the Task List
- Ctrl+Shift+Space – show the intellisense window.
- Ctrl+R – Word Wrap toggle on/off
- Ctrl+K, Ctrl+K – Create or Remove a Bookmark
- Ctrl+K, Ctrl+N – Move to the next bookmark
- Ctrl+K, Ctrl+P – Move to the previous bookmark
- Ctrl+K, Ctrl+L – Clear all the bookmarks on the page.
- Ctrl+K, Ctrl+F – Auto-format the highlighted selection
- Ctrl+U – Convert the selection to lower case
- Ctrl+Shift+U – Convert the selection to upper case
- Ctrl+K, Ctrl+C – Comment the highlighted selection
- Ctrl+K, Ctrl+U – Uncomment the highlighted selection
- F5 – Start running the App in debug Mode
- Ctrl+F5 – Start the app without debugging
- F11 – Step into (ie moves cursor to the next executed line of code)
- F10 – Step over (ie moves cursor to the next executed line of code in the current process and skips stepping into lines of code in functions called by the current process).
- Shift + F11 – Step Out.
- Shift + F5 – Quit debugging.
- Ctrl+Shift+F5 – Restart Debugging.
0 Comments