|
| 1 | +# Layouts and Shortcuts |
| 2 | + |
| 3 | +1. The Interface |
| 4 | + 1. What We'll Cover |
| 5 | + 1. Explore VS Code layout |
| 6 | + 2. Discuss Activity Bar, Side Bar, Status Bar, Panels, and MiniMap |
| 7 | + 2. Resources |
| 8 | + 1. [VS Code User Interface Docs](https://code.visualstudio.com/docs/getstarted/userinterface) |
| 9 | + |
| 10 | +2. Optimizing Your Development Layout |
| 11 | + 1. What We'll Cover |
| 12 | + 1. Shortcuts for opening/closing panels |
| 13 | + 2. Zen Mode for optimal development |
| 14 | + 2. Resources |
| 15 | + 1. [VS Code User Interface Docs](https://code.visualstudio.com/docs/getstarted/userinterface) |
| 16 | + 3. Pro Tips |
| 17 | + 1. `ctrlCmd + Shift + B` - toggle side bar |
| 18 | + 2. `ctrlCmd + Shift + D` - toggle debug |
| 19 | + 3. `ctrlCmd + Shift + E` - toggle file explorer |
| 20 | + 4. `ctrlCmd + Shift + X` - toggle extensions |
| 21 | + 5. `ctrlCmd + Shift + G` - toggle git |
| 22 | + 6. `ctrlCmd + Shift + F` - toggle search |
| 23 | + 7. `ctrlCmd + Shift + P` - open Command Palette |
| 24 | + 8. `ctrlCmd K Z` – toggle Zen Mode |
| 25 | +3. Split Editor and Grid Tab System |
| 26 | + 1. What We'll Cover |
| 27 | + 1. Opening multiple files side by side |
| 28 | + 2. Displaying multiple files in Grid Tab system |
| 29 | + 2. Resources |
| 30 | + 1. [VS Code User Interface Docs](https://code.visualstudio.com/docs/getstarted/userinterface) |
| 31 | + 3. Pro Tips |
| 32 | + 1. Working on a monitor can provide extra editing space and improve efficiency. |
| 33 | + 2. Drag files around to display side by side or in grid |
| 34 | + 3. `ctrlCmd + number` - switch to Nth editor group |
| 35 | + 4. `ctrlCmd + \` - move file to split editor |
| 36 | +4. Opening and Working with Files |
| 37 | + 1. What we’ll cover |
| 38 | + 1. Creating files in the Explorer and via Shortcuts |
| 39 | + 2. Tabbing through open files |
| 40 | + 3. Creating Multiple Workspaces |
| 41 | + 4. Shortcut for quickly opening files |
| 42 | + 2. Resources |
| 43 | + 1. [VS Code User Interface Docs](https://code.visualstudio.com/docs/getstarted/userinterface) |
| 44 | + 3. Pro Tips |
| 45 | + 1. `Ctrl + Tab` – tab to next file |
| 46 | + 2. `Ctrl + Shift + Tab` - tab to previous file |
| 47 | + 3. `ctrlCmd + P` to quick open files |
| 48 | + 4. `ctrlCmd + N` to create new file |
| 49 | + 5. `ctrlCmd + W` to close file |
| 50 | + 5. `ctrlCmd + S` to save file |
| 51 | + 6. Creating a file and defining the directory path will create any missing directories automatically |
| 52 | +5. Navigating and Manipulating Text |
| 53 | + 1. What we’ll cover |
| 54 | + 1. Shortcuts for navigating text |
| 55 | + 2. Shortcuts for copying, pasting, and moving text |
| 56 | + 3. Multiline edits with multiple cursors |
| 57 | + 2. Resources |
| 58 | + 3. Pro Tips |
| 59 | + 1. Speed up key repeat and key delay to fly through code |
| 60 | + 2. `Option + Arrow Left/Right` – Navigate word by word |
| 61 | + 3. `Cmd + Left/Right` | `Home/End` – Go to beginning/end of line |
| 62 | + 4. `Cmd + Up/Down` | `Ctrl + Home/End`– Go to beginning/end of file |
| 63 | + 5. `ctrlCmd + D` – select current word |
| 64 | + 6. `ctrlCmd + Shift +Ctrl + Left/Right` - expand/shrink selection |
| 65 | + 7. `Alt + Up/Down` - move line |
| 66 | + 8. `Shift + Alt + Up/Down` – Duplicate line |
| 67 | + 9. `ctrlCmd + Option + Shift + Arrow Up/Down` - Multiple Cursors] |
| 68 | +6. Search and Replace Like a Ninja |
| 69 | + 1. What we’ll cover |
| 70 | + 1. Search and replace within a file |
| 71 | + 2. Search and replace within a workspace |
| 72 | + 3. Replace one at a time or all at once |
| 73 | + 2. Resources |
| 74 | + 1. [VS Code Docs (Search and Replace)](https://code.visualstudio.com/docs/editor/codebasics) |
| 75 | + 3. Pro Tips |
| 76 | + 1. `ctrlCmd + F` – Search in current file |
| 77 | + 2. `Alt + Cmd + F` | `Ctrl + H` – Search and replace in current file |
| 78 | + 3. `ctrlCmd + Shift + F` – Search in workspace |
| 79 | + 4. `ctrlCmd + Shift + H` – Search and replace in workspace |
| 80 | + 5. `ctrlCmd + Alt + Enter` – replace all |
| 81 | + 6. `ctrlCmd + Shift + L` – select all occurrences of current selection |
| 82 | + 7. `ctrlCmd + F2` – select all occurrences of current selection |
| 83 | + 8. Selecting a piece of text and then searching (and replacing) will auto populate the search field with the copied text |
| 84 | +7. Intellisense |
| 85 | + 1. What we’ll cover |
| 86 | + 1. What intellisense is and how it can increase efficiency and speed of development |
| 87 | + 2. Explore built in intellisense functionality in VS Code |
| 88 | + 2. Resources |
| 89 | + 1. [VS Code Docs Intellisense](https://code.visualstudio.com/docs/editor/intellisense) |
| 90 | +8. Emmet |
| 91 | + 1. What we’ll cover |
| 92 | + 1. What Emmet is and how it can speed up HTML and CSS development |
| 93 | + 2. Basic Emmet snippets |
| 94 | + 2. Resources |
| 95 | + 1. [Emmet website](https://emmet.io/) |
| 96 | + 2. [Emmet Docs Cheatsheet](https://docs.emmet.io/cheat-sheet/) |
| 97 | + 3. [Emmet HTML Cheatsheet](https://github.com/jamesqquick/emmet-html-snippets-cheatsheet) |
| 98 | + 3. Pro Tips |
| 99 | + 1. `!` – Emmet shortcut to generate HTML5 boilerplate |
0 commit comments