VS Code is a powerful text editor, hidden behind a simple interface.
VS Code supports various keyboard shortcuts, the most important for us are:
Shortcut | Action |
---|---|
cmd+N |
create a new file |
cmd+S |
save the current file |
cmd+O |
open a file |
cmd+P |
use quickpick to open a file |
cmd+shift+P |
invoke a command (see below) |
For more information, see the VS Code keyboard cheat sheets, where you can also see how to customize your keybindings.
Commands make VS Code extremely powerful.
To invoke a command, press cmd+shift+P
and select the command you want to execute.
For example, to see the Foam graph:
- press
cmd+shift+P
- start typing
show graph
- select the
Foam: Show Graph
command
And watch the magic unfold.
For more information on commands, see commands on the VS Code site.
If you want to learn more about VS Code, check out their website.
You can see a few panels on the left, including:
Outline
: this panel shows you the structure of the file based on the headingsTag Explorer
: This shows you the tags in your workspace, see [[tags]] for more information on tags
To view or change the settings in VS Code, press cmd+,
on Mac and ctrl+,
on Windows/Linux.