In this Visual Studio Code tutorial, we describe Visual Studio Code features that help increase your coding productivity. Learning just a few tips can speed up your workflow and help you discover the full power of the VS Code editor.
Linux users: Make sure you have the correct multimedia codecs installed for your Linux distribution. For example, on Ubuntu, you may need to install
ubuntu-restricted-extrasto get the necessary codecs to play the videos.
Here's the next video we recommend: Personalize Visual Studio Code
Pick another video from the list: Introductory Videos
- Find features and keyboard shortcuts in the Command Palette
- View > Command Palette... (⇧⌘P (Windows, Linux Ctrl+Shift+P))
- Quick Open recent files or search by filename
- ⌘P (Windows, Linux Ctrl+P) to show the Quick Open dropdown
- Go to Line in a file
- Go to Symbol in a file
- View Quick Open options
- type ?
- Quick Open multiple files
- press Right Arrow to open the selected file but leave the dropdown available
- Multi-cursor selection
- Alt+Click on Windows and Linux, Option+Click on macOS to add a new cursor
- ⌥⌘↑ (Windows Ctrl+Alt+Up, Linux Shift+Alt+Up) ⌥⌘↓ (Windows Ctrl+Alt+Down, Linux Shift+Alt+Down) to add a new cursor above or below the current position
- ⇧⌘L (Windows, Linux Ctrl+Shift+L) to add cursors to all matches of the current selection
- Auto Save changes
- File > Auto Save
- Open the Settings editor
- File > Preferences > Settings (⌘, (Windows, Linux Ctrl+,))
- Set Format On Type
- check Editor: Format on Type
- Set Format On Paste
- check Editor: Format on Paste
- IntelliSense smart code completions
- trigger IntelliSense with ⌃Space (Windows, Linux Ctrl+Space)
- Personalize Visual Studio Code - Learn how to personalize VS Code to your work style with themes.
- Introductory Videos - Review the entire list of videos.