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 the giant Microsoft with a friendly, lightweight interface. To help with the coding process, using keyboard shortcuts will help you to minimize time and redundant operations.

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.

Picture 1 of Keyboard shortcuts in Visual Studio - All common keyboard shortcuts in Visual Studio

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!

Update 19 May 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile