Managing Information |
|
|
|
Ctrl + O |
Ctrl + O |
Cmd + O |
Opens a file from the file system. |
Ctrl + N |
Ctrl + N |
Cmd + N |
Creates a brand new file. |
Ctrl + S |
Ctrl + S |
Cmd + S |
Saves the present file. |
Ctrl + Shift + S |
Ctrl + Shift + S |
Cmd + Shift + S |
Permits Save As mode, which lets you outline an extension or rename a file |
Ctrl + Ok, then S |
|
Cmd + Possibility + S |
Save All. |
Ctrl + F4 |
Ctrl + W |
Cmd + W |
Shut the present open file, saving the adjustments. |
Ctrl + Ok, then Ctrl + W |
Ctrl + Ok, then Ctrl + W |
Cmd + Ok, then Cmd + W |
Shut all open information concurrently, saving the adjustments. |
Ctrl + Shift + T |
Ctrl + Shift + T |
Cmd + Shift + T |
Reopen closed editor window. |
Ctrl + Ok, then R |
Ctrl + Ok, then R |
Cmd + Ok, then R |
Open the file location of the energetic file within the file system. |
Ctrl + Ok, then P |
Ctrl + Ok, then P |
Cmd + Ok, then P |
Copy the complete path of the energetic file. |
Ctrl + Shift + F |
Ctrl + Shift + F |
Cmd + Shift + F |
Present the search window. |
Managing the Editor |
|
|
|
Ctrl + Backslash () |
Ctrl + Backslash () |
Cmd + Backslash () |
Cut up the editor by including one further enhancing window. |
Ctrl + W |
Ctrl + W |
Cmd + W |
Shut the present editor window. |
Ctrl + Ok, then F |
Ctrl + Ok, then F |
Cmd + Ok, then F |
Shut the at present opened folder and default to the primary window. |
Alt + Z |
Alt + Z |
Possibility + Z |
Allow or disable phrase wrap on the present file. |
Ctrl + Shift + U |
Ctrl + Ok, then Ctrl + H |
Cmd + Shift + U |
Toggle VSCode’s output window. |
Ctrl + Ok, then Z |
Ctrl + Ok, then Z |
Cmd + Ok, then Z |
Toggle VSCode’s Zen mode. |
Enhancing Information |
|
|
|
Ctrl + C |
Ctrl + C |
Cmd + C |
Copy the present line if part is highlighted. |
Alt + Shift + Up arrow |
|
Copy the present line if the part is highlighted. |
Copy the road above the present line. |
Alt + Shift + Down arrow |
|
Change the entity within the present file. |
Copy the road under the present line. |
Ctrl + X |
Ctrl + X |
Cmd + X |
Minimize the present line if no part is highlighted. |
Ctrl + F |
Ctrl + F |
Cmd + F |
Search within the present file. |
Ctrl + H |
Ctrl + H |
Cmd + Possibility + F |
Change entity within the present file. |
Ctrl + L |
Ctrl + L |
Cmd + L |
Choose the present line. |
Ctrl + Shift + L |
Ctrl + Shift + L |
Cmd + Shift + L |
Choose all cases of the present line within the file. |
F3 |
F3 |
Cmd + G |
Discover subsequent. |
Shift + F3 |
Shift + F3 |
Cmd + Shift + G |
Discover earlier. |
Ctrl + Shift + Ok |
Ctrl + Shift + Ok |
Cmd + Shift + Ok |
Transfer the present lineup from the present place. |
Ctrl + U |
Ctrl + U |
Cmd + U |
Undo the latest cursor operation. |
Alt + Up Arrow |
Alt + Up Arrow |
Possibility + Up Arrow |
Transfer the present line up from its present place. |
Alt + Down Arrow |
Alt + Down Arrow |
Possibility + Down Arrow |
Transfer the present line down from the present place. |
Finish |
Finish |
Finish |
Go to the top of the present line. |
House |
House |
House |
Go to the start of the file. |
Ctrl + Finish |
Ctrl + Finish |
Cmd + Down Arrow |
Go to the top of a file. |
Ctrl + House |
Ctrl + House |
Cmd + Up Arrow |
Go the start of the file. |
Alt + Enter |
Alt + Enter |
Possibility + Enter |
Choose all occurrences of the discovered matches. |
Ctrl + Enter |
Ctrl + Enter |
Cmd + Enter |
Insert a brand new line under the present line. |
Ctrl + Shift + Enter |
Ctrl + Shift + Enter |
Cmd + Shift + Enter |
Insert a brand new line above the present line. |
Ctrl + Shift + Backslash () |
Ctrl + Shift + Backslash () |
Cmd + Shift + Backslash () |
Go to the matching bracket. |
Ctrl + Proper Sq. Bracket (]) |
Ctrl + Proper Sq. Bracket (]) |
Cmd + Proper Sq. Bracket (]) |
Mechanically indent the present line if no part is highlighted. |
Ctrl + Left Sq. Bracket ([) |
Ctrl + Left Square Bracket ([) |
Cmd + Left Square Bracket ([) |
Automatically outdent the current line if no section is highlighted. |
Alt + Shift + F |
Ctrl + Shift + I |
Option + Shift + I |
Format the current document. |
Ctrl + K, then Ctrl + F |
Ctrl + K, then Ctrl + F |
Cmd + K, then Cmd + F |
Format the selected section. |
Ctrl + Shift + H |
Ctrl + Shift + H |
Cmd + Shift + H |
Replace in Files. |
Ctrl + Period (.) |
Ctrl + Period (.) |
Cmd + Period (.) |
Show Quick Fix actions, if one is available. |
Ctrl + K, then M |
Ctrl + K, then M |
Cmd + K, then M |
Alter the current file language and set to auto-detect by default. |
Ctrl + K, then Ctrl + X |
Ctrl + K, then Ctrl + X |
Cmd + K, then Cmd + X |
Remove all excess spaces and tabs in the document. |
Ctrl + Space |
Ctrl + Space |
Ctrl + Space |
Manually activate a code suggestion. |
Alt + Left Mouse Click |
Alt + Left Mouse Click |
Option + Left Mouse Click |
Insert a cursor. |
Commenting Code |
|
|
|
Ctrl + Slash (/) |
Ctrl + Slash (/) |
Cmd + Slash (/) |
Comment or uncomment out the current line. |
Ctrl + K, then Ctrl + C |
Ctrl + K, then Ctrl + C |
Cmd + K, then Cmd + C |
Create a comment on the current line. |
Ctrl + K, then Ctrl + U |
Ctrl + K, then Ctrl + U |
Cmd + K, then Cmd + U |
Remove a comment on the current line. |
Alt + Shift + A |
Ctrl + Shift + A |
Option + Shift + A |
Comment or uncomment out the currently selection region. |
Function Definitions |
|
|
|
F12 |
F12 |
F12 |
Open the library definition of the current function. |
Ctrl + K, then F12 |
Ctrl + K, then F12 |
Cmd + K, then F12 |
Open a new window containing the library definition of the current function. |
Alt + F12 |
Ctrl + Shift + F10 |
Option + F12 |
Open a small window that shows the library definition of the current function. |
Shift + F12 |
Shift + F12 |
Shift + F12 |
Find all the functions in the project that references the current function. |
F2 |
F2 |
F2 |
Rename the current function. |
Ctrl + F2 |
Ctrl + F2 |
|
Rename the current function and replace all instances of it in the file. |
General Usage |
|
|
|
Ctrl + Shift + P |
Ctrl + Shift + P |
Cmd + Shift + P |
Launch the Command Palette. |
Ctrl + Comma (,) |
Ctrl + Comma (,) |
Cmd + Comma (,) |
Open the user settings. |
Ctrl + K, then Ctrl + S |
Ctrl + K, then Ctrl + S |
Cmd + K, then Cmd + S |
Launch the Keyboard Shortcut interface. |
Ctrl + Shift + N |
Ctrl + Shift + N |
Cmd + Shift + N |
Open a new window. |
Ctrl + Shift + W |
Ctrl + W |
Cmd + W |
Close the window. |
Ctrl + Left Mouse Click |
Ctrl + Left Mouse Click |
|
Open the link on the default browser. |
Navigating VSCode |
|
|
|
Ctrl + T |
Ctrl + T |
Cmd + T |
Quickly toggle all symbols. |
Ctrl + P |
Ctrl + P |
Cmd + P |
Go to a specific file. |
Ctrl + Shift + O |
Ctrl + Shift + O |
Cmd + Shift + O |
Navigate to a specific symbol. |
F11 |
F11 |
Cmd + Ctrl + F |
Enable full screen mode. |
Ctrl + Shift + E |
Ctrl + Shift + E |
Cmd + Shift + E |
Toggle Explorer/Editor Focus. |
Ctrl + Shift + X |
Ctrl + Shift + X |
Cmd + Shift + X |
Show/Search Visual Studio extensions. |
Ctrl + Shift + D |
Ctrl + Shift + D |
Cmd + Shift + D |
Show the Debug panel. |
Ctrl + Equal (=) |
Ctrl + Equal (=) |
Cmd + Equal (=) |
Zoom in the VSCode interface. |
Ctrl + Minus (-) |
Ctrl + Minus (-) |
Cmd + Shift + Minus (-) |
Zoom out the VSCode interface. |
Ctrl + Shift + Left Square Bracket ([) |
|
Option + Shift + Left Square Bracket ([) |
Hide the current region of code. |
Ctrl + Shift + Right Square Bracket (]) |
|
Possibility + Shift + Proper Sq. Bracket (]) |
Unhide the present area of code. |
Ctrl + Ok, then Ctrl + 0 |
Ctrl + Ok, then Ctrl + 0 |
Cmd + Ok, then Cmd + 0 |
Cover all areas within the at present open file. |
Ctrl + Ok, then Ctrl + J |
Ctrl + Ok, then Ctrl + J |
Cmd + Ok, then Cmd + J |
Unhide all areas within the at present open file. |
Ctrl + Ok, then Ctrl + Left Sq. Bracket ([) |
|
Cmd + K, then Cmd + Left Square Bracket ([) |
Hide all subregions in the currently open file. |
Ctrl + K, then Ctrl + Right Square Bracket (]) |
|
Cmd + Ok, then Cmd + Proper Sq. Bracket (]) |
Unhide all subregions within the at present open file. |
Terminal Mode |
|
|
|
Ctrl + Backtick (`) |
Ctrl + Backtick (`) |
Ctrl + Backtick (`) |
Open the terminal. |
Ctrl + Shift + Backtick (`) |
Ctrl + Shift + Backtick (`) |
Ctrl + Shift + Backtick (`) |
Create a brand new terminal occasion. |
Ctrl + C |
Ctrl + Shift + C |
Cmd + C |
Copy the highlighted part. |
Ctrl + V |
Ctrl + Shift + V |
|
Paste into the energetic terminal session. |
Ctrl + Up Arrow |
Ctrl + Shift + Up Arrow |
Cmd + Up Arrow |
Scroll Up within the energetic terminal. |
Ctrl + Shift + Down Arrow |
Ctrl + Shift + Down Arrow |
Cmd + Down Arrow |
Navigate to the highest. |
Ctrl + House |
Ctrl + House |
Cmd + House |
Navigate to the highest. |
Ctrl + Finish |
Ctrl + Finish |
Cmd + Finish |
Scroll to backside. |
Debug Mode |
|
|
|
F9 |
F9 |
F9 |
Create a breakpoint on the at present highlighted line. |
F5 |
F5 |
F5 |
Run the code one step after the breakpoint. |
F11 |
F11 |
F11 |
Go inside both the kid perform or loop. |
Shift + F11 |
Shift + F11 |
Shift + F11 |
Go exterior both the kid perform or loop. |
F10 |
F10 |
F10 |
Skip the execution on the present breakpoint. |
F8 |
F8 |
F8 |
Transfer the pointer to the following error within the file. |
Shift + F8 |
Shift + F8 |
Shift + F8 |
Transfer the purpose to the earlier error within the file. |
Shift + F5 |
Shift + F5 |
Shift + F5 |
Cease the debugging session. |