[Traversy Media] VSCode Keyboard Shortcuts For Productivity

視頻鏈接:https://www.bilibili.com/video/av82746556


Navigating the Editor:

Open Command Pallete

Shift+Ctrl+P

hit ESC key to get out the command pallete

//

Access Settings

Ctrl+,

//

Close Tab

Ctrl+W

//

Toggle Terminal

Ctrl+`

//

Create New Terminal

Shift+Ctrl+`

//

Toggle Sidebar

Ctrl+B

//

Open New Window/Instance

Shift+Ctrl+N

//

Close Window

Ctrl+W


Working with Files:

 

Sidebar Focus

Shift+Ctrl+E

//

Open File/Folder from Sidebar

Ctrl+Down 打開文件夾

Ctrl+Up關閉文件夾

或者按下Enter鍵來打開或關閉folder

//

Change File Tabs

Ctrl+Tab

//

Reopen Recently Closed Files

Ctrl+Shift+T

//

Quick File Open

Ctrl+P

//

Open a file to the right instead of in another tab

Ctrl+Enter

//

New File

Ctrl+N

//

Open File from Explorer

Ctrl+O

//

Zoom

Ctrl+ = Zoom in

Ctrl + - Zoom out

Ctrl+Numpad0 reset Zoom

//

Split Editor

Ctrl+\


Code Editing:

 

Go to Start & End of Line

Ctrl+Right

Ctrl+Left

Home

End

//

Go to Start & End of File

Ctrl+ Home

Ctrl+End

//

Cut, Copy & Paste Line

Ctrl+X

Ctrl+C

Ctrl+V

//

Move Line Up & Down

Alt+Up

Alt+Down

//

Copy Line Up & Down

Shift+Alt+Up

Shift+Alt+Down

//

Remove Line

Shift+Ctrl+K

//

Insert Line

Ctrl+Enter # Insert below

Ctrl+Shift+Enter # Insert above

//

Jump to Matching Bracket

Shift+Ctrl+\

//

Add Line Comment

Ctrl+/ #single line comment //

//

Add Block Comment

Shift+Alt+A

//

Highlight Code one character at a time

Shift+right arrow/left arrow

//

Highlight Code one word at a time

Shift+Ctrl+right arrow/left arrow

//

Select Next Match

Ctrl+D

//

Add Cursor

Alt+Click

//

Got to Entity(Functions, vars, etc)

Ctrl+Shift+O

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章