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
- How to compare contents of 2 text files with Notepad ++in many cases, we need to check the content between two text files. however, checking each word by eye only takes a lot of time and is inefficient, easy to miss. to solve that problem, i would like to introduce you how to compare the content of 2 text files (text or source code) with notepad ++
- Top 5 Folder software, extremely secure folder locktop 5 folder software, extremely secure folder lock. make sure anyone who uses a computer stores data on it, which can contain a lot of important, even private information. so the security of the data is an indispensable need, because otherwise, your data can be completely accessed by others.
- Instructions on how to Fake IP for free with Kaspersky VPNinstructions on how to fake ip for free with kaspersky vpn. fake ip is a job often used when users want to keep personal information secure when using the internet. currently, there are many different fake ip support tools on the market, but most of them do not have stable connection, slow network speed, etc.
- Top 5 best GIF creation softwareanimated gifs bring us more interesting gadgets than still images and videos. if you are a software animator, let's take a look at the top 5 best gif creation software below.
- Top 5 best organizational chart software today 2020looking for an easy-to-use, professional organizational charting software but confused between the options? the following article will introduce you to the top 5 best organizational chart software today. hope you can find what you want.
- What is keynote? Learn about Keynotewhat is keynote? learn about keynote. keynote is a software product from apple, the goal of keynote designed by apple is to synchronize with its ios / macos ecosystem. if on windows we are familiar with microsoft powerpoint to present and create slides, apple has created keynote with similar features.