Keyboard shortcuts in Visual Studio - All common keyboard shortcuts in Visual Studio
Visual Studio is a very popular programming tool because it was developed by Microsoft "giant" with friendly interface, gentle. To help in the "code" process, using keyboard shortcuts will help you somewhat reduce the time and "redundant" operations.
Invite you to read along and refer to the important keyboard shortcut table on Visual Studio below.
1. Shortcuts for manipulating code
Shortcut keys
Function
Ctrl + L
Delete the line of code at the cursor position
Ctrl + Shift + key)
Highlight the command line for (), writeln () .
Shift + Home
Highlight from the cursor position to the beginning of the line
Shift + End
Highlight from the cursor position to the end of the line
Ctrl + Shift + H
Search, replace
Ctrl + sign,
Search in the Solution section
Ctrl + K + R
Search within the reference of the variable, method, class . of the project.
Shift + F12
Search within the reference of the variable, method, class . of the project
Shift + Alt + T
Swap the line to the bottom
Alt + Shift + F10 + Enter
Rename variables and functions simultaneously when the variable names and functions change. Implement inherited Abstract class or Interface method
Ctrl + R + E
encapsulated data area
2. Navigation shortcut
Shortcut keys
Function
Arrow keys ←
Move 1 character to the left
Arrow keys →
Move 1 character to the right
Arrow keys ↑
Move to the top line
Arrow keys ↓
Move to the bottom line
Ctrl + arrow key ←
Move left 1 word
Ctrl + arrow key →
Move right 1 word
Ctrl + arrow key ↑
Move up line by line
Ctrl + arrow key ↓
Move down line by line
Home
Move to the beginning of the line
End
Move to the end of the line
PgUp
Bring the cursor to the top of the page
PgDn
Moves the cursor to the bottom of the page
Ctrl + Home
Return the cursor to the top of the page
Ctrl + End
Return cursor to page position
Ctrl + G
Display the GoTo Line dialog box
Ctrl +]
Fill out the missing item in curly braces {}
Ctrl + KK
Create, delete bookmarks
Ctrl + KN
Move to the next bookmark
Ctrl + KP
Move to the forward bookmark
Ctrl + KL
Delete all bookmarks
3. Shortcut selection
Shortcut keys
Function
Shift + arrow key ←
Extend selection with 1 character on the left
Shift + arrow key →
Extend selection with 1 character on the right
Shift + arrow key ↑
Extend the selection with 1 line above
Shift + arrow key ↓
Expand the selection with 1 line below
Ctrl + Shift + arrow key ←
Expand the selection with 1 word on the left
Ctrl + Shift + arrow key →
Expand the selection with 1 word to the right
Shift + PgUp
Expand the selection to the top of the page
Shift + PgDn
Expand the selection to the bottom of the page
Ctrl + Shift + Home
Expand the selection to the top of the page
Ctrl + Shift + End
Expand the selection to the bottom of the page
Ctrl + A
Select entire page
Ctrl + W
Select the current word at the cursor position
Ctrl + RS
Switch vertical view => horizontal
4. Shortcut window Properties
Shortcut keys
Function
Ctrl + F1
Show documentation in the Properties dialog box
Arrow keys ← or keys -
Close a button in the property list
Arrow key → or + key
Open 1 button in the property list
Shift + ESC
Close the properties window
+ Key on Numpad
Expand 1 button and display the parts in the properties list
Key - on Numpad
Record a node in the properties list
PgDn
Scroll down the properties list
PgUp
Move up on the properties list
Arrow keys ↑
Move up on the properties list
Arrow keys ↓
Scroll down the properties list
Tab
Move between the Settings window and the Object
Home
Move to the first properties in the list
End
Scroll down to the last properties in the list
5. Shortcut key with Settings box
Shortcut keys
Function
ESC
Cancel
Ctrl + C
Ctrl + Insert
Copy
Ctrl + X
Shift + Delete
Cut
Delete
Erase
Shift + F10
Show shortcut
Ctrl + T
Swap two random characters. For example: AD - CB to AB - CD
Ctrl + Shift + T
Swap two locations of words joined by the word operator
Alt + Shift + T
Swap 2 lines
Ctrl + U
Convert selected text => lowercase
Ctrl + Shift + U
Converts selected text to uppercase
Ctrl + RW
Show or hide white characters
Ctrl + Q
Replace spaces with Tab
Ctrl + Shift + Q
Replace Tab with spaces
Tab
Move the cursor to the right by 1 more Tab
Shift + Tab
Move the cursor to the left by 1 more Tab
6. Shortcut key with Debug
Shortcut keys
Function
F1
Open help
Alt + spacebar
Open the system menu
F9
Add and delete line breaks
Ctrl + Shift + F9
Delete line breaks
Ctrl + F9
Disable line breaks
Ctrl + Alt + A
Display the Auto window
Ctrl + B
Display the breakpoint window
Ctrl + Alt + C
Display the Call Stack window
Ctrl + Alt + I
Display the Immediate window
Ctrl + Alt + L
Displays the Locals window
Ctrl + Alt + R
Display the Running Doucument window
Alt + key *
Display the next command
With the integrated shortcut keys in Visual Studio versions, readers can manipulate and work faster with the shortcut combination in the article. Good luck!
You should read it
- How to create a file to install Visual Studio offline
- How to Install Visual Studio Using Parallels Desktop on a Mac
- Visual Studio Code review: Microsoft's cross-platform code editor
- 9 extension Visual Studio Code for easier programming
- Steps to Install Visual Studio: Powerful Microsoft Programming Tool
- Microsoft released Visual Studio Community 2013 for free for programmers
- How to install Visual Studio Code on Windows 10
- Microsoft officially launched Visual Studio 2019 for Windows and Mac with many new features, invited to download and experience
May be interested
- Microsoft released Visual Studio Community 2013 for free for programmersin addition to visual studio 2015, at connect, microsoft also released visual studio community 2013 for free for developers. however, one thing to note is that this version of visual studio is not used in enterprise application development.
- How to install Visual Studio Code on Windows 10visual studio code is a lightweight, convenient and popular code editor that you can download and install for free on windows 10. in this tutorial, you will learn the steps to download and install visual studio (vs) ) code on windows 10.
- How to Use Keyboard Shortcutsthis wikihow teaches you how to use common keyboard shortcuts on both windows and mac computers. keyboard shortcuts allow you to perform multiple-step actions by simply pressing two or more keys at the same time. understand how key...
- Microsoft officially launched Visual Studio 2019 for Windows and Mac with many new features, invited to download and experiencemicrosoft has officially released a version of visual studio 2019 for windows and mac with many interesting and useful features for programmers.
- Write code in a browser with Microsoft Visual Studio Onlinethere are situations where you may need a focused work environment. this is where remote development tools like visual studio online appear.
- Common keyboard shortcuts are used in PowerPointif you often use powerpoint as presentations, instead of using the mouse cursor to manipulate, you should know the keyboard shortcuts in powerpoint to be able to work faster. using keyboard shortcuts will help you work more efficiently.
- Keyboard shortcuts in Illustrator are often used, keyboard shortcuts are commonly used in AIkeyboard shortcuts in illustrator are often used, keyboard shortcuts are commonly used in ai. for graphic software, remembering the keyboard shortcuts will help you save a lot of time working and manipulating. illustrator's keyboard shortcuts are diverse and popular, forcing users to use only to be able to remember them all.
- Build 2019: Microsoft brought Visual Studio to the browser platform, .NET 5 release and ML.NET 1.0build is microsoft's annual developer conference, and this year, after the first day of the event, besides the familiar products, visual studio and .net become 'stars' attracting a lot of things. pay attention from experts and the community.
- Visual Studio 2010 SP1 enhances developer supportmicrosoft launched a local help viewer for visual studio 2010, integrating project server with team foundation server to help development teams work more effectively.
- How to Install Visual Studio Code on Ubuntu 20.04visual studio code (vscode) is a powerful and extremely popular open source code editor developed by microsoft. in this article, we will learn how to install vscode on ubuntu from version 20.04 lts and above