0% found this document useful (0 votes)
10 views4 pages

Vs Code Shortcuts

The document provides a comprehensive list of keyboard shortcuts for various actions in a code editor, categorized by operating systems: Windows/Linux and Mac. Each action is paired with its corresponding shortcut for both platforms, facilitating ease of use for users. This reference is useful for improving productivity and efficiency while coding.

Uploaded by

voyob84831
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views4 pages

Vs Code Shortcuts

The document provides a comprehensive list of keyboard shortcuts for various actions in a code editor, categorized by operating systems: Windows/Linux and Mac. Each action is paired with its corresponding shortcut for both platforms, facilitating ease of use for users. This reference is useful for improving productivity and efficiency while coding.

Uploaded by

voyob84831
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

# Action Windows/Linux Mac

1 Open Command Palette Ctrl + Shift + P Cmd + Shift + P

2 Quick Open File Ctrl + P Cmd + P

3 Open New Window Ctrl + Shift + N Cmd + Shift + N

4 Close Current Window Ctrl + W Cmd + W

5 Save File Ctrl + S Cmd + S

6 Save All Files Ctrl + K, S Cmd + K, S

7 Find Ctrl + F Cmd + F

8 Replace Ctrl + H Cmd + H

9 Go to Line Ctrl + G Cmd + G

10 Go to File Ctrl + P Cmd + P

11 Toggle Sidebar Ctrl + B Cmd + B

12 Split Editor Ctrl + \ Cmd + \

13 Close Editor Ctrl + W Cmd + W

14 Close All Editors Ctrl + K, W Cmd + K, W

15 Open Integrated Terminal Ctrl + (Backtick) Cmd + (Backtick)

16 New Terminal Ctrl + Shift + (Backtick) Cmd + Shift + (Backtick)

17 Run Active File Ctrl + F5 Cmd + F5

18 Debug Start/Continue F5 F5

19 Toggle Breakpoint F9 F9

20 Show/Hide Terminal Ctrl + (Backtick) Cmd + (Backtick)

21 Switch Between Open Files Ctrl + Tab Cmd + Tab

22 Select All Ctrl + A Cmd + A

23 Undo Ctrl + Z Cmd + Z

24 Redo Ctrl + Y or Ctrl + Shift Cmd + Shift + Z


+ Z

25 Copy Ctrl + C Cmd + C

26 Cut Ctrl + X Cmd + X

27 Paste Ctrl + V Cmd + V

28 Move Line Up/Down Alt + Up/Down Arrow Option + Up/Down Arrow


# Action Windows/Linux Mac

29 Comment Line Ctrl + / Cmd + /

30 Uncomment Line Ctrl + / Cmd + /

31 Duplicate Line Shift + Alt + Down Arrow Shift + Option + Down


Arrow

32 Delete Line Ctrl + Shift + K Cmd + Shift + K

33 Jump to Definition F12 F12

34 Rename Symbol F2 F2

35 Find in Files Ctrl + Shift + F Cmd + Shift + F

36 Replace in Files Ctrl + Shift + H Cmd + Shift + H

37 Toggle Word Wrap Alt + Z Option + Z

38 Open Recent File Ctrl + R Cmd + R

39 Toggle Terminal Ctrl + (Backtick) Cmd + (Backtick)

40 Show Extensions Ctrl + Shift + X Cmd + Shift + X

41 Show Git Panel Ctrl + Shift + G Cmd + Shift + G

42 Show Debug Panel Ctrl + Shift + D Cmd + Shift + D

43 Zoom In Ctrl + = Cmd + =

44 Zoom Out Ctrl + - Cmd + -

45 Toggle Fullscreen F11 F11

46 Go to Definition F12 F12

47 Show Explorer Ctrl + Shift + E Cmd + Shift + E

48 Show Output Ctrl + Shift + U Cmd + Shift + U

49 Open New File Ctrl + N Cmd + N

50 Go to Symbol Ctrl + Shift + O Cmd + Shift + O

51 Add Cursor Above/Below Ctrl + Alt + Up/Down Cmd + Option + Up/Down


Arrow Arrow

52 Toggle Mini Map Ctrl + B Cmd + B

53 Open Settings Ctrl + , Cmd + ,

54 Open Keyboard Shortcuts Ctrl + K, Ctrl + S Cmd + K, Cmd + S

55 Quick Fix Ctrl + . Cmd + .


# Action Windows/Linux Mac

56 Show All Symbols Ctrl + T Cmd + T

57 Focus on Editor Group 1, 2, or Ctrl + 1, 2, 3 Cmd + 1, 2, 3

58 Move Editor Left/Right Ctrl + Shift + Left/Right Cmd + Shift +


Arrow Left/Right Arrow

59 Open Integrated Terminal Ctrl + Shift + (Backtick) Cmd + Shift + (Backtick)


(New)

60 Quick Open Recent File Ctrl + R Cmd + R

61 Switch Between Editor Groups Ctrl + 1, 2, 3 Cmd + 1, 2, 3

62 Toggle Split Editor Mode Ctrl + \ Cmd + \

63 Open Terminal in Current Ctrl + Shift + \ Cmd + Shift + \

Directory

64 Clear Terminal Ctrl + L Cmd + L

65 Toggle Minimap Ctrl + B Cmd + B

66 View Git History Ctrl + Shift + H Cmd + Shift + H

67 Toggle Markdown Preview Ctrl + Shift + V Cmd + Shift + V

68 Navigate Between F8 F8

Errors/Warnings

69 Move to Next Error F8 F8

70 Move to Previous Error Shift + F8 Shift + F8

71 Format Document Shift + Alt + F Shift + Option + F

72 Toggle Terminal Panel Ctrl + J Cmd + J

73 Open Workspace Ctrl + Shift + W Cmd + Shift + W

74 Show Debug Console Ctrl + Shift + Y Cmd + Shift + Y

75 Toggle Editor Group 1 Ctrl + 1 Cmd + 1

76 Toggle Editor Group 2 Ctrl + 2 Cmd + 2

77 Toggle Editor Group 3 Ctrl + 3 Cmd + 3

78 Focus on First Editor Group Ctrl + 1 Cmd + 1

79 Focus on Second Editor Group Ctrl + 2 Cmd + 2

80 Focus on Third Editor Group Ctrl + 3 Cmd + 3


# Action Windows/Linux Mac

81 Show Editor Group 1 Ctrl + 1 Cmd + 1

82 Show Editor Group 2 Ctrl + 2 Cmd + 2

83 Show Editor Group 3 Ctrl + 3 Cmd + 3

84 Move Active Editor Group to Ctrl + Alt + Left Cmd + Option + Left

the Left

85 Move Active Editor Group to Ctrl + Alt + Right Cmd + Option + Right

the Right

86 Go to Next Tab Ctrl + Tab Cmd + Tab

87 Go to Previous Tab Ctrl + Shift + Tab Cmd + Shift + Tab

88 Open File Explorer Ctrl + Shift + E Cmd + Shift + E

89 Open Debug Sidebar Ctrl + Shift + D Cmd + Shift + D

90 Show Git Changes Ctrl + Shift + G Cmd + Shift + G

91 Open New Untitled File Ctrl + N Cmd + N

92 Open File Explorer (Mac) Cmd + Shift + E Cmd + Shift + E

93 Reopen Closed Editor Ctrl + Shift + T Cmd + Shift + T

94 Go to Previous Editor Ctrl + - Cmd + -

95 Move Editor Left Ctrl + Shift + Left Cmd + Shift + Left

96 Move Editor Right Ctrl + Shift + Right Cmd + Shift + Right

97 Open New Folder Ctrl + Shift + N Cmd + Shift + N

98 Open File Ctrl + O Cmd + O

99 Toggle Split Editor Ctrl + \ Cmd + \

100 Create Workspace Ctrl + Shift + W Cmd + Shift + W

You might also like