Add vscode

This commit is contained in:
Rico Sta. Cruz 2018-02-01 17:43:19 +08:00
parent 8421454f19
commit 801ac2aa11
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 98 additions and 0 deletions

98
vscode.md Normal file
View File

@ -0,0 +1,98 @@
---
title: Visual Studio Code
category: Apps
layout: 2017/sheet
updated: 2018-02-01
weight: -5
keywords:
- "⌘P: Show files"
- "⌘B: Toggle sidebar"
- "⌘J: Toggle panel"
- "F5: Debug"
intro: |
[Visual Studio Code](https://code.visualstudio.com/), or VSCode, is an open-source code editor. This guide targets VSCode v1.19.
---
Shortcuts
---------
{: .-three-column}
### Command palette
| Key | Description |
| ---- | ---- |
| `⇧⌘P` | Show all commands |
| `⌘P` | Show files |
{: .-shortcuts}
### Sidebars
| Key | Description |
| ---- | ---- |
| `⌘B` | Toggle sidebar |
| ---- | ---- |
| `⇧⌘E` | Explorer |
| `⇧⌘F` | Search |
| `⇧⌘D` | Debug |
| `⇧⌘X` | Extensions |
| `⇧^G` | Git (SCM) |
{: .-shortcuts}
### Search
| Key | Description |
| ---- | ---- |
| `⌘F` | Find |
| `⌥⌘F` | Replace |
| ---- | ---- |
| `⇧⌘F` | Find in files |
| `⇧⌘H` | Replace in files |
{: .-shortcuts}
### Panel
| Key | Description |
| ---- | ---- |
| `⌘J` | Toggle panel |
| ---- | ---- |
| `⇧⌘M` | Problems |
| `⇧⌘U` | Output |
| `⇧⌘Y` | Debug console |
| <code>^`</code> | Terminal |
{: .-shortcuts}
### View
| Key | Description |
| ---- | ---- |
| `⌘k` `z` | Zen mode |
| ---- | ---- |
| `⌘k` `u` | Close unmodified |
| `⌘k` `w` | Close all |
{: .-shortcuts}
### Debug
| Key | Description |
| ---- | ---- |
| `F5` | Start |
| `⇧F5` | Stop |
| `⇧⌘F5` | Restart |
| ---- | ---- |
| `^F5` | Start without debugging |
| ---- | ---- |
| `F9` | Toggle breakpoint |
| ---- | ---- |
| `F10` | Step over |
| `F11` | Step into |
| `⇧F11` | Step out |
| ---- | ---- |
| `⇧⌘D` | Debug sidebar |
| `⇧⌘Y` | Debug panel |
{: .-shortcuts}
## References
- [Keyboard shortcuts (MacOS)](https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf) *(code.visualstudio.com)*
- [Keyboard shortcuts (Windows)](https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf) *(code.visualstudio.com)*
- [Keyboard shortcuts (Linux)](https://code.visualstudio.com/shortcuts/keyboard-shortcuts-linux.pdf) *(code.visualstudio.com)*