Skip to content

Instantly share code, notes, and snippets.

@StuartsHome
Last active March 11, 2021 17:20
Show Gist options
  • Select an option

  • Save StuartsHome/054dc3e053c54ef01f092e9f28bd9f37 to your computer and use it in GitHub Desktop.

Select an option

Save StuartsHome/054dc3e053c54ef01f092e9f28bd9f37 to your computer and use it in GitHub Desktop.
VScode MAC shortcuts
Key Commands:
------------------
Delete Line:
Shift + Cmd + K
Copy Line Down/Up:
Shift + Opt + Down
Shift + Opt + Up
Insert cursor:
Opt + Click
Column (box) selection:
Shift + Opt + Cmd + (up or down or left or right)
Select all occurences of current word:
Shift + Cmd + L
Insert line above:
Cmd + Shift + Enter
-----------------
Indent/outdent line:
Cmd + [ or ]
Delete Characters Right:
Ctrl + D
Move by Word:
Opt + Right
Opt + Left
Extend Selection by Word:
Shift + Opt + Right
Shift + Opt + Left
Comment Line:
Cmd + /
Find All:
Cmd + D
Replace:
Opt + Cmd + F
Add Cursors:
Opt + Click
Jump to Matching Bracket:
Shift + Cmd + \
Enter Line above:
Shift + Cmd + Enter
Move Line Down/Up:
Opt + Down
Opt + Up
Refresh VScode in Command Palette with - reload window
Reset Java workspace - and rebuild dependencies:
- $ Java: Clean the java language server workspace
Source Folders and Packages:
SourceFolder/package
e.g. <src/main/java>/<com.aspose.words>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment