This article is about List of Visual Studio Shortcut Keys: Visual Studio Code also known as VS Code is the most popular code editor developed by Microsoft for Windows, Linux, and macOS. With support for a wide range of programming languages and frameworks, VS Code is designed to be lightweight and customizable. VS Code has many features such as syntax highlighting, code completion, debugging, Git integration, and extensions that can be installed to add additional functionality.
Visual Studio Shortcut Keys
Here we have provided the complete list of Visual Studio Shortcut Keys [VS Code Shortcut Keys], These shortcut keys allow developers to work more efficiently, Productivity, Familiarity, and Accessibility by performing common tasks quickly. Let’s take a look at the list of Visual Studio Shortcut Keys, also you can find here the Visual Studio Shortcut Keys PDF for download.
VS Code General Shortcuts Keys
Shortcut
Functions
Ctrl-X or Shift-Delete
Cut the selected text or lines and remove them from the current location.
Ctrl-C or Ctrl-Insert
Copy the selected text or lines to the clipboard, without removing them from the current location.
Ctrl-V or Shift-Insert
Pastes the item in the clipboard at the cursor (with selection in clipboard).
Alt-Right Arrow
Go forward in the web browser history
Ctrl-Z or Alt-Backspace
Undo previous editing action
Ctrl-Y or Ctrl-Shift-Z
Redo the previous undo action
Ctrl-/
Pastes the item in the clipboard at the cursor (with selection in the clipboard).
Ctrl-Shift-F12
Moves to the next task in the TaskList window
Ctrl-Shift-8
Moves backward in the browse history
Alt-Left Arrow
Go back in the web browser history
Ctrl-S
Saves the selected files in the current project (usually the file that is being edited)
Ctrl-Shift-S
Saves all documents and projects
Ctrl-P
Displays the Print dialog
F7
Switches from the design view to the code view in the editor
Shift-F7
Switches from the code view to the design view in the editor
F8
Moves the cursor to the next item, for example in the TaskList window or Find Results window
Ctrl-Shift-V or Ctrl-Shift-Insert
Pastes an item from the clipboard ring tab of the Toolbox at the cursor in the file and automatically selects the pasted item.
Ctrl + . or Shift+Alt+F10
Opens smart tag and resolves a wide array of suggested code refactorings
Esc
Closes a menu or dialog, cancels an operation in progress
Shift-F8
Moves the cursor to the previous item
Shift-F12
Finds a reference to the selected item or the item under the cursor.
Ctrl-Shift-G
Opens the file whose name is under the cursor or is currently selected
VS Code Project Related Shortcut Keys
Shortcut
Functions
Ctrl-Shift-B
Builds the solution
Ctrl-Shift-O
Displays the Open Project dialog
Shift-Alt-A
Displays the Add Existing Item dialog
Ctrl-Shift-A
Displays the Add New Item dialog
Ctrl-Alt-Insert
Allows you to override base class methods in a derived class when an overridable method is highlighted in the Class View pane
Ctrl-N
Displays the New File dialog.
Ctrl-Shift-N
Displays the New Project dialog
Ctrl-O
Displays the Open File dialog
VS Code Window Manipulation Shortcut Keys
Shortcut
Functions
Shift-Alt-Enter
Toggles full screen mode
Ctrl-+
Goes back to the previous location in the navigation history.
Ctrl-Shift-+
Moves forward in the navigation history
Ctrl-F4
Closes the current MDI child window
F6
Moves to the next pane of a split pane view of a single document
Shift-F6
Moves to the previous pane of a document in split pane view
Toggles full-screen mode
Moves to the next tab in the document or windows
Shift-Esc
Closes the current tool window
Ctrl-F2
Moves the cursor to the navigation bar at the top of a code view
Ctrl-Tab
Cycles through the MDI child windows one window at a time
Ctrl-F6,Ctrl-Shift-Tab
Moves to the previous MDI child window
Alt-F6,Ctrl-Shift-F6
Moves to the next tool window
Shift-Alt-F6
Moves to the previously selected window
Ctrl-PageUp
Moves to the previous tab in the document or window
VS Code Control Editor Shortcut Keys
Shortcut
Functions
Ctrl-Down Arrow
Moves the selected control down in increments of one on the design surface
Down Arrow
Moves the selected control down to the next grid position on the design surface
Ctrl-Left Arrow
Moves the control to the left in increments of one on the design surface
Ctrl-Shift-Right Arrow
Increases the width of the control in increments of one on the design surface
Shift-Left Arrow
Increases the width of the control to the next grid position on the design surface
Right Arrow
Moves the control to the right into the next grid position on the design surface
Ctrl-Up Arrow
Moves the control up in increments of one on the design surface
Up Arrow
Moves the control up into the next grid position on the design surface
Ctrl-Shift-Up Arrow
Decreases the height of the control in increments of one on the design surface
Left Arrow
Moves the control to the left to the next grid position on the design surface
Ctrl-Right Arrow
Moves the control to the right in increments of one on the design surface
Tab
Moves to the next control in the tab order
Shift-Tab
Moves to the previous control in the tab order
Ctrl-Shift-Down Arrow
Increases the height of the control in increments of one on the design surface
Shift-Down Arrow
Increases the height of the control to the next grid position on the design surface
Ctrl-Shift-Left Arrow
Reduces the width of the control in increments of one on the design surface
Shift-Left Arrow
Reduces the width of the control to the next grid position on the design surface
Shift-Up Arrow
Decreases the height of the control to the next grid position on the design surface
VS Code Shortcut Keys for Search and Replace
Shortcut
Functions
Ctrl-F
Displays the Find dialog
Ctrl-Shift-F
Displays the Find in Files dialog
F3
Finds the next occurrence of the previous search text
Alt-F3, S
Halts the current Find in Files operation
Alt-F3, B
Selects or clears the Search Up option for Find and Replace operations
Alt-F3, W
Selects or clears the Match Whole Word option for Find and Replace operations
Alt-F3, P
Selects or clears the Wildcard option for Find and Replace operations
Ctrl-F3
Finds the next occurrence of the currently selected text or the word under the cursor if there is no selection
Shift-F3
Finds the previous occurrence of the search text
Ctrl-Shift-F3
Finds the previous occurrence of the currently selected text or the word under the cursor
Ctrl-D
Place the cursor in the Find/Command line on the Standard toolbar
Alt-F3, H
Selects or clears the Search Hidden Text option for the Find dialog
Alt-F3, C
Selects or clears the Match Case option for Find and Replace operations
Alt-F3, R
Selects or clears the Regular Expression option
Ctrl-H
Displays the Replace dialog
Ctrl-Shift-H
Displays the Replace in Files dialog
Ctrl-Shift-I
Performs an incremental search in the reverse direction
VS Code Shortcut Keys for Debugging
Shortcut
Functions
F5
Start debugging
F9
Toggle breakpoint
F10
Step over
F11
Step into
Shift+F11
Step out
Shift+F5
Stop debugging
Ctrl+Shift+F5
Restart debugging
Ctrl+Shift+Y
Debug console
Ctrl+K Ctrl+I
Show hover information
Ctrl+Shift+D
Open debug pane
Ctrl+Shift+F9
Remove all breakpoints
F12
Go to definition
Alt+F9
Run to cursor
Alt+F5
Restart debugging
Ctrl+Shift+F10
Debug Console
VS Code Text Navigation Shortcut Keys
Shortcut
Functions
Left Arrow
Moves the cursor one character to the left
Page Up
Scrolls up one screen in the editor window
End
Moves the cursor to the end of the current line
Home
Moves the cursor to the beginning of the line
Ctrl-Down Arrow
Scrolls text down one line but does not move the cursor
Ctrl-Up Arrow
Scrolls text up one line but does not move the cursor
Right Arrow
Moves the cursor one character to the right
Down Arrow
Moves the cursor down one line
Up Arrow
Moves the cursor up one line
Page Down
Scrolls down one screen in the editor window
Ctrl-Right Arrow
Moves the cursor one word to the right
Ctrl-Left Arrow
Moves the cursor one word to the left
Ctrl-End
Moves the cursor to the end of the document
Ctrl-Home
Moves the cursor to the start of the document
Ctrl-G
Displays the Go to Line dialog (If the debugger is running, the dialog lets you specify addresses or function names to go to.)
Ctrl-]
Moves the cursor to the matching brace in the document (If the cursor is on an opening brace, it will move to the corresponding closing brace and vice versa.)
Ctrl-K, Ctrl-N
Moves to the next bookmark in the document
Ctrl-Shift-1
Navigates to the next definition, declaration, or reference of an item. Available in the object browser and Class View window.
Ctrl-K, Ctrl-P
Moves to the previous bookmark
Ctrl-K, Ctrl-I
Displays Quick Info, based on the current language
Ctrl-Shift-2
Navigates to the previous definition, declaration, or reference of an item
VS Code Text Manipulation Shortcut Keys
Shortcut
Functions
Enter
Inserts a new line
Backspaceor or Shift-Backspace
Deletes one character to the left of the cursor
Ctrl-K, Ctrl-C
Marks the current line or selected lines of code as a comment, using the correct comment syntax for the programming language
Ctrl-K, Ctrl-U
Removes the comment syntax from the current line or currently selected lines of code
Ctrl-TorShift-Enter
Swaps the characters on either side of the cursor.
Delete
Deletes one character to the right of the cursor
Insert
Toggles between insert and overtype insertion modes
Tab
Indents the currently selected line or lines by one tab stop. If there is no selection, this inserts a tab stop
Shift-Tab
Moves current line or selected lines one tab stop to the left
Ctrl-K, Ctrl-L
Removes all unnamed bookmarks in the current document
Ctrl-M, Ctrl-O
Automatically determines logical boundaries for creating regions in code, such as procedures, and then hides them. This collapses all such regions in the current document
Alt-Right Arrowor or Ctrl-Spacebar
Displays statement completion based on the current language or autocompletes word if existing text unambiguously identifies a single symbol
Ctrl-K, Ctrl-\
Removes horizontal whitespace in the selection or deletes whitespace adjacent to the cursor if there is no selection
Ctrl-K, Ctrl-F
Applies the indenting and space formatting for the language as specified on the Formatting pane of the language in the Text Editor section of the Options dialog to the selected text.
Ctrl-Shift-Spacebar
Displays a tooltip that contains information for the current parameter, based on the current language
Ctrl-M, Ctrl-U
Removes the outlining information for the currently selected region
Ctrl-M, Ctrl-P
Removes all outlining information from the entire document
Ctrl-R, Ctrl-P
Swaps the anchor and endpoint of the current selection
Ctrl-Shift-Enter
Inserts a blank line below the cursor
Shift-Alt-T
Moves the line containing the cursor below the next line
Ctrl-J
Lists members for statement completion when editing code
Ctrl-U
Changes the selected text to lowercase characters
Ctrl-Shift-U
Changes the selected text to uppercase characters
Ctrl-M, Ctrl-L
Toggles all previously marked hidden text sections between hidden and display states
Ctrl-L
Cuts all selected lines or the current line if nothing has been selected to the clipboard
Ctrl-Shift-L
Deletes all selected lines or the current line if no selection has been made
Ctrl-Enter
Inserts a blank line above the cursor
Ctrl-K, Ctrl-K
Sets or removes a bookmark at the current line
Ctrl-M, Ctrl-M
Toggles the currently selected hidden text section or the section containing the cursor if there is no selection between the hidden and display states
Ctrl-K, Ctrl-H
Sets or removes a shortcut in the tasklist to the current line
Ctrl-R, Ctrl-R
Enables or disables word wrap in an editor
Ctrl-R, Ctrl-W
Shows or hides spaces and tab marks
Ctrl-Delete
Deletes the word to the right of the cursor
Ctrl-Backspace
Deletes the word to the left of the cursor
Ctrl-Shift-T
Transposes the two words that follow the cursor
Ctrl-.[dot]
Swap the characters on either side of the cursor.
VS Code Text Selection Shortcut Keys
Shortcut
Functions
Shift-Right Arrow
Moves the cursor to the right one character, extending the selection
Shift-Alt-Right Arrow
Moves the cursor to the right one character, extending the column selection
Ctrl-Shift-End
Moves the cursor to the end of the document, extending the selection
Shift-Left Arrow
Moves the cursor to the right of one character, extending the selection
Shift-Alt-Left Arrow
Moves the cursor to the left one character, extending the column selection
Ctrl-Shift-Home
Moves the cursor to the start of the document, extending the selection
Ctrl-Shift-]
Moves the cursor to the next brace, extending the selection
Ctrl-A
Selects everything in the current document
Ctrl-W
Selects the word containing the cursor or the word to the right of the cursor
Ctrl-=
Selects from the current location in the editor back to the previous location in the navigation history
Shift-Down Arrow
Moves the cursor down one line, extending the selection
Shift-Alt-Down Arrow
Moves the cursor down one line, extending the column selection
Shift-End
Moves the cursor to the end of the current line, extending the selection
Shift-Alt-End
Moves the cursor to the end of the line, extending the column selection
Shift-Home
Moves the cursor to the start of the line, extending the selection
Shift-Alt-Home
Moves the cursor to the start of the line, extending the column selection
Shift-Up Arrow
Moves the cursor up one line, extending the selection
Shift-Alt-Up Arrow
Moves the cursor up one line, extending the column selection
Shift-Page Down
Extends selection down one page
Ctrl-Shift-Left Arrow
Moves the cursor one word to the left, extending the selection
Ctrl-Shift-Alt-Left Arrow
Moves the cursor to the right of one word, extending the column selection
Shift-Page Up
Extends selection up one page
Ctrl-Shift-Page Down
Moves the cursor to the last line in view, extending the selection
Ctrl-Shift-Page Up
Moves the cursor to the top of the current window, extending the selection
Ctrl-Shift-Alt-Right Arrow
Moves the cursor to the left of one character, extending the selection
VS Code Shortcut Keys for Help
Shortcut
Functions
Ctrl-Alt-F1
Displays the Contents window for the documentation
Ctrl-F1
Displays the Dynamic Help window
Ctrl-Alt-F3
Displays the Search window
Shift-Alt-F3
Displays the Search Results window
Ctrl-Alt-F2
Displays the Help Index window
Shift-Alt-F2
Displays the Index Results window
Alt-Down Arrow
Displays the next topic in the table of contents
F1
Displays a topic from Help that corresponds to the part of the user interface that currently has the focus
Alt-Up Arrow
Displays the previous topic in the table of contents (Available only in the Help browser window)
Shift-F1
Displays a topic from Help that corresponds to the user interface item that has the focus
Knowing Visual Studio Shortcut Keys (VS Code shortcut keys) is important for many reasons, Visual Studio shortcut keys help us to accomplish tasks more quickly and efficiently than using the mouse to navigate through menus. It helps us to increase productivity, better coding experience, less physical stress, consistency, easier memorization, etc. Overall, using Visual Studio shortcut keys can improve our productivity and make coding more enjoyable.
Here we have provided the Visual Studio Shortcut Keys PDF, you can get this PDF file by clicking on the download button below.
He is a blogger and a perpetual learner, dedicated to turning ideas into digital realities. His insatiable curiosity drives him to continually explore the latest technologies and share his knowledge with the world through insightful blog posts.