본문으로 건너뛰기

Productivity Tips

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-extras to 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

Video outline

  • Find features and keyboard shortcuts in the Command Palette
    • View > Command Palette... (Ctrl+Shift+P)
  • Quick Open recent files or search by filename
    • kb(workbench.action.quickOpen) to show the Quick Open dropdown
  • Go to Line in a file
    • type filename:line number
  • Go to Symbol in a file
    • type filename@symbol name
  • 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
    • kb(editor.action.insertCursorAbove) kb(editor.action.insertCursorBelow) to add a new cursor above or below the current position
    • kb(editor.action.selectHighlights) to add cursors to all matches of the current selection
  • Auto Save changes
    • File > Auto Save
  • Open the Settings editor
    • File > Preferences > Settings (kb(workbench.action.openSettings))
  • 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 Ctrl+Space

Next video