Phím tắt VS Code

Phím tắt VS Code cho developer làm việc nhanh hơn

Phím tắt VS Code
Tra cứu nhanh các phím tắt thường dùng trong Visual Studio Code
Ctrl+Shift+P

Command Palette

Ctrl+P

Quick Open, Go to File

Ctrl+Shift+N

New Window

Ctrl+Shift+W

Close Window

Ctrl+,

User Settings

Ctrl+K Ctrl+S

Keyboard Shortcuts

Ctrl+X

Cut line (empty selection)

Ctrl+C

Copy line (empty selection)

Ctrl+Shift+K

Delete Line

Alt+↑/↓

Move Line Up/Down

Shift+Alt+↓/↑

Copy Line Up/Down

Ctrl+Enter

Insert Line Below

Ctrl+Shift+Enter

Insert Line Above

Ctrl+Shift+\

Jump to Matching Bracket

Ctrl+]/[

Indent/Outdent Line

Home/End

Go to Beginning/End of Line

Ctrl+Home/End

Go to Beginning/End of File

Ctrl+↑/↓

Scroll Line Up/Down

Alt+PgUp/PgDn

Scroll Page Up/Down

Ctrl+Shift+[/]

Fold/Unfold Region

Ctrl+K Ctrl+0

Fold All

Ctrl+K Ctrl+J

Unfold All

Ctrl+K Ctrl+C

Add Line Comment

Ctrl+K Ctrl+U

Remove Line Comment

Ctrl+/

Toggle Line Comment

Shift+Alt+A

Toggle Block Comment

Alt+Z

Toggle Word Wrap

Alt+Click

Insert Cursor

Ctrl+Alt+↑/↓

Insert Cursor Above/Below

Ctrl+U

Undo Last Cursor Operation

Shift+Alt+I

Insert Cursor at End of Each Line

Ctrl+L

Select Current Line

Ctrl+Shift+L

Select All Occurrences of Current Selection

Ctrl+F2

Select All Occurrences of Current Word

Shift+Alt+→/←

Expand/Shrink Selection

Shift+Alt+(drag)

Column (Box) Selection

Ctrl+F

Find

Ctrl+H

Replace

F3 / Shift+F3

Find Next/Previous

Alt+Enter

Select All Occurrences of Find Match

Ctrl+D

Add Selection to Next Find Match

Ctrl+K Ctrl+D

Move Last Selection to Next Find Match

Ctrl+T

Show All Symbols

Ctrl+G

Go to Line

Ctrl+P

Go to File

Ctrl+Shift+O

Go to Symbol

Ctrl+Shift+M

Show Problems Panel

F8

Go to Next Error or Warning

Shift+F8

Go to Previous Error or Warning

Ctrl+Shift+Tab

Navigate Editor Group History

Alt+←/→

Go Back/Forward

Ctrl+M

Toggle Tab Moves Focus

Ctrl+W

Close Editor

Ctrl+K F

Close Folder

Ctrl+\

Split Editor

Ctrl+1/2/3

Focus into 1st, 2nd, 3rd Editor Group

Ctrl+K Ctrl+←/→

Focus into Previous/Next Editor Group

Ctrl+Shift+PgUp/PgDn

Move Editor Left/Right

Ctrl+K ←/→

Move Active Editor Group

F11

Toggle Full Screen

Shift+Alt+0

Toggle Editor Layout (horizontal/vertical)

Ctrl+=/-

Zoom In/Out

Ctrl+B

Toggle Sidebar Visibility

Ctrl+Shift+E

Show Explorer/Toggle Focus

Ctrl+Shift+F

Show Search

Ctrl+Shift+G

Show Source Control

Ctrl+Shift+D

Show Debug

Ctrl+Shift+X

Show Extensions

Ctrl+Shift+H

Replace in Files

Ctrl+Shift+J

Toggle Search Details

Ctrl+Shift+U

Show Output Panel

Ctrl+Shift+V

Open Markdown Preview

Ctrl+K V

Open Markdown Preview to the Side

Ctrl+K Z

Zen Mode

F9

Toggle Breakpoint

F5

Start/Continue

Shift+F5

Stop

F11/Shift+F11

Step Into/Out

F10

Step Over

Ctrl+K Ctrl+I

Show Hover

Ctrl+`

Show Integrated Terminal

Ctrl+Shift+`

Create New Terminal

Ctrl+C

Copy Selection

Ctrl+V

Paste into Active Terminal

Ctrl+↑/↓

Scroll Up/Down

Shift+PgUp/PgDn

Scroll Page Up/Down

Ctrl+Home/End

Scroll to Top/Bottom

Hiển thị 87 phím tắtWindows/Linux

💡 Mẹo:

  • • Trên macOS: Ctrl → Cmd, Alt → Option
  • • Dùng Ctrl+K Ctrl+S để xem và tùy chỉnh phím tắt
  • • Ctrl+Shift+P mở Command Palette - tìm mọi lệnh
  • • Multi-cursor với Ctrl+D (chọn từ tiếp theo) rất mạnh

Lưu ý:

  • • Kết quả tính toán chỉ mang tính chất tham khảo
  • • Các mức thuế và bảo hiểm có thể thay đổi theo thời gian
  • • Vui lòng tham khảo các quy định hiện hành của pháp luật Việt Nam