Skip to content

Commit

Permalink
Merge pull request LeCoupa#254 from VesitoDev/master
Browse files Browse the repository at this point in the history
added shortcuts in vscode.md (more info in deskcription)
  • Loading branch information
LeCoupa authored Dec 18, 2021
2 parents 92c29be + 6b29cb5 commit 4ea9928
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions tools/vscode.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# 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

### HTML & CSS
Expand Down

0 comments on commit 4ea9928

Please sign in to comment.