VS Code ποΈ
Visual Studio Code is my primary text editor. I occasionally use JetBrains and I previously used Atom, Sublime, and Textmate.
Notesβ
11/26/21 - added Visual Studio Code (& Insiders) to Ovid and need to make some notes as I get along.
Extensionsβ
mineβ
- Wikipedia Hyperlinker ( windhamdavid )
othersβ
- Atom One Dark Theme ( Mahmoud Ali )
- C/C++ ( Microsoft )
- C/C++ Extension Pack ( Microsoft )
- C/C++ Themes ( Microsoft )
- ChatGPT - Genie AI
- CMake ( twxs )
- CMake Tools ( Microsoft )
- Code Spell Checker ( Street Side Software )
- Community Material Theme ( equinusocio )
- CSV to Markdown Table ( Machiore )
- Debugger for Firefox ( Firefox Dev Tools )
- Dev Containers ( Microsoft )
- Docker ( Microsoft )
- Edit csv ( janisdd )
- EditorConfig ( editorconfig )
- ESLint ( Microsoft )
- Figma for VS Code ( Figma )
- GitHub Codespaces ( GitHub )
- GitHub CoPilot ( GitHub )
- GitHub CoPilot Experimental ( GitHub )
- GitHub CoPilot Nightly ( GitHub )
- GitHub Markdown Preview ( Matt Bierner )
- GitHub Theme ( GitHub )
- GitLens ( GitKraken )
- Go ( Go Team at Google )
- Go Template Support ( jinlimig2 )
- IntelliCode ( Microsoft )
- IntelliCode API Usage ( Microsoft )
- isort ( Microsoft )
- JavaScript and TypeScript Nightly ( Microsoft )
- JavaScript Debugger Nightly ( Microsoft )
- JSON Validate ( rioj7 )
- Jupyter ( Microsoft )
- Jupyter Cell Tags ( Microsoft )
- Jupyter Slide Show ( Microsoft )
- Live Preview ( Microsoft )
- Live Share ( Microsoft )
- Markdown Checkbox ( Matt Bierner )
- Markdown Emoji ( Matt Bierner )
- Markdown Footnotes ( Matt Bierner )
- Markdown Preview GitHub Styling ( Matt Bierner )
- Markdown Preview Mermaid ( Matt Bierner )
- Markdown Preview VS Code Highlighter ( Matt Bierner )
- Markdown YAML Preview ( Matt Bierner )
- Markdownlint ( David Anson )
- Markmap ( Gerald Liu )
- Material Theme ( Equinusocio )
- Material Theme Light ( Equinusocio )
- md-graph ( Ian J Sikes )
- MDX ( unified )
- One Dark Pro ( binaryify )
- PHP Debug ( Xdebug )
- PHP Intelephense ( Ben Mewburn )
- Pylance ( Microsoft )
- Python ( Microsoft )
- Rainbow CSV ( mechatroner )
- React ( Microsoft )
- React Native ( Microsoft )
- Remote Explorer ( Microsoft )
- Remote SSH ( Microsoft )
- Remote SSH: Editing ( Microsoft )
- Rust Analyzer ( The Rust Programming Language )
- Sunburst Theme ( gerane )
- Transmit ( Fabio Spaminato )
- VIM ( vscodevim )
- WordPress Hooks IntelliSense ( John Billion )
- YAML ( Red Hat )
CoPilotβ
Ctrl+Enter. GitHub Copilot will open a new tab and suggest multiple options
Keyboard Shortcutsβ
- unassigned shortcuts available at aka.ms/vscodekeybindings
Generalβ
β§βP, F1 (^) Show Command Palette
βP Quick Open, Go to File...
β§βN (^) New window/instance
βW (^) Close window/instance
β, (^) User Settings
βK βS (^) Keyboard Shortcuts
Basic editingβ
βX (^) Cut line (empty selection)
βC (^) Copy line (empty selection)
β₯β / β₯β (^) Move line down/up
β§β₯β / β§β₯β (^) Copy line down/up
β§βK (^) Delete line
βEnter / β§βEnter (^) Insert line below/above
β§β\ (^) Jump to matching bracket
β] / β[ (^) Indent/outdent line
Home / End (^) Go to beginning/end of line
ββ / ββ (^) Go to beginning/end of file
βPgUp / βPgDn (^) Scroll line up/down
βPgUp /βPgDn (^) Scroll page up/down
β₯β[ / β₯β] Fold/unfold region
βK β[ / βK β] (^) Fold/unfold all subregions
βK β 0 / βK βJ (^) Fold/unfold all regions
βK βC (^) Add line comment
βK βU (^) Remove line comment
β/ (^) Toggle line comment
β§β₯A (^) Toggle block comment
β₯Z Toggle word wrap
Multi-cursor and selectionβ
β₯ + click (^) Insert cursor
β₯ββ (^) Insert cursor above
β₯ββ (^) Insert cursor below
βU (^) Undo last cursor operation
β§β₯I (^) Insert cursor at end of each line selected
βL (^) Select current line
β§βL (^) Select all occurrences of current selection
βF2 (^) Select all occurrences of current word
ββ§ββ / β (^) Expand / shrink selection
β§β₯ + drag mouse (^) Column (box) selection
β§β₯ββ / β Column (box) selection up/down
β§β₯ββ / β (^) Column (box) selection left/right
β§β₯βPgUp (^) Column (box) selection page up
β§β₯βPgDn (^) Column (box) selection page down
Search and replaceβ
βF (^) Find
β₯βF (^) Replace
βG / β§βG (^) Find next/previous
β₯Enter Select all occurrences of Find match
βD (^) Add selection to next Find match
βK βD (^) Move last selection to next Find match
Rich languages editingβ
βSpace, βI (^) Trigger suggestion
β§βSpace (^) Trigger parameter hints
β§β₯F (^) Format document
βK βF (^) Format selection
F12 (^) Go to Definition
β₯F12 (^) Peek Definition
βK F12 (^) Open Definition to the side
β. (^) Quick Fix
β§F12 (^) Show References
F2 (^) Rename Symbol
βK βX (^) Trim trailing whitespace
βK M Change file language
Navigationβ
βT Show all Symbols
βG (^) Go to Line...
βP (^) Go to File...
β§βO (^) Go to Symbol...
β§βM (^) Show Problems panel
F8 / β§F8 (^) Go to next/previous error or warning
ββ§Tab (^) Navigate editor group history
β- / ββ§- (^) Go back/forward
ββ§M (^) Toggle Tab moves focus
Editor managementβ
βW (^) Close editor
βK F (^) Close folder
β\ (^) Split editor
β 1 / β2 / β (^3) Focus into 1 st, 2nd, 3rd editor group
βK ββ / βK ββ (^) Focus into previous/next editor group
βK β§ββ / βK β§ββ Move editor left/right
βK β / βK β (^) Move active editor group
File managementβ
βN (^) New File
βO (^) Open File...
βS (^) Save
β§βS (^) Save As...
β₯βS (^) Save All
βW (^) Close
βK βW (^) Close All
β§βT (^) Reopen closed editor
βK Enter (^) Keep preview mode editor open
βTab / ββ§Tab (^) Open next / previous
βK P (^) Copy path of active file
βK R (^) Reveal active file in Finder
βK O (^) Show active file in new window/instance
Displayβ
ββF (^) Toggle full screen
β₯β (^0) Toggle editor layout (horizontal/vertical)
β= / β§β- (^) Zoom in/out
βB (^) Toggle Sidebar visibility
β§βE Show Explorer / Toggle focus
β§βF (^) Show Search
ββ§G (^) Show Source Control
β§βD (^) Show Debug
β§βX (^) Show Extensions
β§βH (^) Replace in files
β§βJ (^) Toggle Search details
β§βU Show Output panel
β§βV (^) Open Markdown preview
βK V (^) Open Markdown preview to the side
βK Z (^) Zen Mode (Esc Esc to exit)
Debugβ
F9 (^) Toggle breakpoint
F5 (^) Start/Continue
F11 / β§F11 (^) Step into/ out
F10 (^) Step over
β§F5 (^) Stop
βK βI (^) Show hover
Integrated terminalβ
β (^) Show integrated terminal ββ§
Create new terminal
βC (^) Copy selection
ββ / β (^) Scroll up/down
PgUp / PgDn (^) Scroll page up/down
βHome / End (^) Scroll to top/bottom