VSCode Quickstart Guide
Overview
These VS code customizations are βquality of life updatesβ to assist in navigating around the interface easier. This guide serves as a starting point and these changes can be updated to fit your personal preferences.
Common Keyboard Shortcut Keys
Remembering these shortcut keys will save some time when navigating!
Ctrl+B - Closes/Opens left navigation barCtrl+W - Closes current windowCtrl+Shift+P / F1 - Command PaletteCtrl+P - Search for file names, press enter to go into the fileCtrl+Tab - Cycles through filesCtrl+Arrow - Moves to next word or back one wordCtrl+C - No highlighting needed, copies current lineCtrl+D - Selects current text, then Ctrl+F to search and replace for exampleCtrl+/ - Multi-line commentCtrl+~ - Closes/opens terminal windowCtrl+, - Open Settings Menu
Example VS Code Customizations
These settings can be searched for in the Settings Menu by pressing Ctrl+,
key.
-
Cursor Blinking: Expand
-
Word Wrap: On
-
Auto Save -> afterDelay
- Delay is 1 second!
-
Font Size -> 16
-
Format On Save -> Checked
- This βprettiesβ the code to proper spacing. e.g. JSON
Extensions
-
Cobalt2 Color Theme
-
Can preview theme in real-time by pressing Command Pallette Key (F1) and using arrow keys after installing theme extension of choice!
-
-
Prettier - Code Formatter
- Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary. Supports languages like JSON, JavaScript, Markdown, YAML, etc
-
Code Spell Checker
- Has support for multiple languages. No more miss spelling when creating MD docs!
-
Advance-new-file
- This adds the ability to create files anywhere in your workspace. Press F1 to bring up menu and start typing away! Saves some time instead of using mouse to create a new file on left-hand navigation.
Tips and Tricks
- VS Code supports Markdown out-of-the-box. Markdown preview box can be pinned to right pane from Command Palette menu
- Explore short key keys from Command Palette Menu β Open Keyboard Shortcut keys
- Pressing ctrl and + key when zoom in/out your VS code interfaceβ¦even the terminal!
Did you know?
In a recent 2021 Stack Overflow Developer Survey, Visual Studio Code has a significant lead as the IDE of choice across all developers! Eclipse is in 8th place with ~16% usage.