|
| 1 | +# Getting started with VS Code |
| 2 | + |
| 3 | +VS Code is a powerful text editor, hidden behind a simple interface. |
| 4 | + |
| 5 | +VS Code supports various **keyboard shortcuts**, the most important for us are: |
| 6 | + |
| 7 | +| Shortcut | Action | |
| 8 | +| ------------- | ---------------------------- | |
| 9 | +| `cmd+N` | create a new file | |
| 10 | +| `cmd+S` | save the current file | |
| 11 | +| `cmd+O` | open a file | |
| 12 | +| `cmd+P` | use quickpick to open a file | |
| 13 | +| `cmd+shift+P` | invoke a command (see below) | |
| 14 | + |
| 15 | +For more information, see the [VS Code keyboard cheat sheets](https://code.visualstudio.com/docs/getstarted/keybindings#_keyboard-shortcuts-reference), where you can also see how to customize your keybindings. |
| 16 | + |
| 17 | +## Commands |
| 18 | + |
| 19 | +Commands make VS Code extremely powerful. |
| 20 | + |
| 21 | +To invoke a command, press `cmd+shift+P` and select the command you want to execute. |
| 22 | +For example, to see the Foam graph: |
| 23 | + |
| 24 | +- press `cmd+shift+P` |
| 25 | +- start typing `show graph` |
| 26 | +- select the `Foam: Show Graph` command |
| 27 | + |
| 28 | +And watch the magic unfold. |
| 29 | + |
| 30 | +For more information on commands, see [commands on the VS Code site](https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette). |
| 31 | + |
| 32 | +If you want to learn more about VS Code, check out their [website](https://code.visualstudio.com/docs#first-steps). |
| 33 | + |
| 34 | +## Panels |
| 35 | + |
| 36 | +You can see a few panels on the left, including: |
| 37 | + |
| 38 | +- `Outline`: this panel shows you the structure of the file based on the headings |
| 39 | +- `Tag Explorer`: This shows you the tags in your workspace, see [[tags-and-tag-explorer]] for more information on tags |
| 40 | + |
| 41 | +## Settings |
| 42 | + |
| 43 | +To view or change the settings in VS Code, press `cmd+,` |
0 commit comments