Useful Links
Shortcuts in the Editor
Side Bar Toggles
Ctrl + B
: Toggle side bar open and closeCtrl + Shift + E
: Open ExplorerCtrl + Shift + F
: Open SearchCtrl + Shift + G
: Open Source Control (Git)Ctrl + Shift + D
: Open Debug MenuCtrl + Shift + X
: Open Extensions
General Shortcuts
Ctrl + Shift + P
orFn + F1
: Open Command Palette (includes Zen Mode, Minimap)Ctrl + P
: Quick file searchCtrl + ,
: Open SettingsCtrl + Shift + N
: New VS Code windowCtrl + \
: Split Editor
File Handling
Ctrl + W
: Close current file/editorCtrl + Shift + T
: Reopen last closed editorCtrl + Tab
orCtrl + PgUp/PgDw
: Switch through open filesCtrl + Shift + Tab
: Reverse switch through open files
Text Selection
Ctrl + C
: Copy the entire line where the cursor is locatedCtrl + D
: Select the exact word (can be used to select all instances when pressed multiple times)Home / End
: Go to the beginning or end of the current lineCtrl + Space
: Trigger suggestionsCtrl + L
: Select current lineCtrl + Shift + L
: Select all instances of the current selectionCtrl + Shift + H
: Replace in fileCtrl + F
: FindCtrl + H
: Replace
Display
F11
: Toggle full screenCtrl + =/-
: Zoom in or outCtrl + Shift + C
: Open Command Prompt/Terminal
Plugins and Extensions
Essential Extensions
- IntelliSense: Provides smart completions based on variable types, function definitions, and imported modules.
- Emmet: Offers shorthand syntax for HTML and CSS, expanding into full code snippets.
- Cascadia Code: A font family from Microsoft designed for coding, includes ligatures.
- Font Ligatures: Turns groups of characters into a single character for improved readability.
- Live Server: Launch a local development server with live reload for HTML/CSS previews.
Markdown Plugins
- Markdown Extended: Enhances Markdown editing capabilities.
- Prettier: Automatically formats code for consistency.
- Markdown Shortcuts: Provides keyboard shortcuts specifically for Markdown editing.
- Markdown Preview Enhanced: A powerful Markdown preview tool with extra features.
Custom Snippets
- Create snippets that translate to predefined code, customizable for individual programming languages. This feature is beneficial for advanced users who want to streamline their coding process.
Advanced Customization
- Edit in JSON: Customize settings, shortcuts, and editor behavior in a JSON file for more granular control.
- Text Wrap: Configure text wrapping preferences.
- Cursor Customization: Set conditions for cursor behavior in specific file types or locations.
- Setting Sync: Sync settings, extensions, and keybindings across devices for a consistent development environment.
Topics to Consider
- Integrated Debugging: Setting breakpoints and inspecting variables.
- Remote Development: Using the Remote Development extensions to work with remote servers or containers.
- Version Control Integration: How to effectively use Git within VS Code.
- Task Runner: Automate repetitive tasks like building or running scripts.
- Live Share: Collaborate with others in real-time through Live Share sessions.