vs code shortcuts mac code example

Example 1: vs code copy a link down

On Windows: Shift + Alt + Up/Down.
On Mac: Shift + Option + Up/Down.
On Ubuntu: Ctrl + Shift + Alt + Up/Down.

Example 2: command palette vscode

On windows: Use Ctrl+Shift+P to open the commmand palette

Example 3: vscode command to select a whole line

windows: Ctrl + L
MacOS: Command + L

Example 4: vs code open file shortcut

To open a file:
  1. press ctrl + p
  2. enter filename
  3. To go to line append ":10"
  4. To go to function append "@foo"

Example 5: new file shortcut vscode

ctrl + n // Windows/Linux
cmd + n  // MacOS

//Or use a great extension: File Utils

Tags:

Go Example