mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-12-22 10:08:54 +00:00
added shortcuts in vscode.md (more info in deskcription)
added general and basic editing shortcuts for vs code. I added those in the Linux category, I am not sure if they are the same for other OSs but in my resources, they said they are for Linux so if there are mistakes please correct them. Also, let me know if I should add more shortcuts.
This commit is contained in:
parent
45dc3252bb
commit
6b29cb5c71
@ -1,5 +1,39 @@
|
|||||||
# Visual Studio CheatSheet
|
# Visual Studio CheatSheet
|
||||||
|
|
||||||
|
## Shortcuts
|
||||||
|
|
||||||
|
### Linux
|
||||||
|
|
||||||
|
#### General
|
||||||
|
|
||||||
|
- `Ctrl`+`Shift`+`P`, `F1`: Show Command Palette
|
||||||
|
- `Ctrl`+`P`: Quick Open, Go to File
|
||||||
|
- `Ctrl`+`Shift`+`N`: New window/instance
|
||||||
|
- `Ctrl`+`W`: Close window/instance
|
||||||
|
- `Ctrl`+`,`: User Settings
|
||||||
|
- `Ctrl`+`K`, `Ctrl`+`S`: Keyboard Shortcuts
|
||||||
|
|
||||||
|
#### Basic editing
|
||||||
|
|
||||||
|
- `Ctrl`+`X`: Cut line (empty selection)
|
||||||
|
- `Ctrl`+`C`: Copy line (empty selection)
|
||||||
|
- `Ctrl`+`↓/↑`: Move line down / up
|
||||||
|
- `Ctrl`+`Shift`+`K`: Delete line
|
||||||
|
- `Ctrl`+`Enter` / `Ctrl`+`Shift`+`Enter`: Insert line below / above
|
||||||
|
- `Ctrl`+`Shift`+`\`: Jump to matching bracket
|
||||||
|
- `Ctrl`+`]` / `Ctrl`+`[`: Indent / Outdent line
|
||||||
|
- `Ctrl`+`Home` / `End`: Go to beginning / end of file
|
||||||
|
- `Ctrl`+`↑ / ↓`: Scroll line up / down
|
||||||
|
- `Alt`+`PgUp` / `PgDn`: Scroll page up / down
|
||||||
|
- `Ctrl`+`Shift`+`[ / ]`: Fold / unfold region
|
||||||
|
- `Ctrl`+`K`, `Ctrl`+`[ / ]`: Fold / unfold all subregions
|
||||||
|
- `Ctrl`+`K`, `Ctrl`+`0` / `Ctrl`+`K`, `Ctrl`+`J`: Fold /Unfold all regions
|
||||||
|
- `Ctrl`+`K`, `Ctrl`+`C`: Add line comment
|
||||||
|
- `Ctrl`+`K`, `Ctrl`+`U`: Remove line comment
|
||||||
|
- `Ctrl`+`/`: Toggle line comment
|
||||||
|
- `Ctrl`+`Shift`+`A`: Toggle block comment
|
||||||
|
- `Alt`+`Z`: Toggle word wrap
|
||||||
|
|
||||||
## Useful Extensions
|
## Useful Extensions
|
||||||
|
|
||||||
### HTML & CSS
|
### HTML & CSS
|
||||||
|
Loading…
Reference in New Issue
Block a user