Visual Studio Code#

Visual Studio Code is a free source-code editor made by Microsoft for Windows, Linux and macOS. Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded Git. Users can change the theme, keyboard shortcuts, preferences, and install extensions that add additional functionality.

Important Extensions#

Useful Extensions#

  • autoDocstring

  • Black Formatter

  • Code Runner

  • CodeSnap

  • GistPad

  • GitHub Actions

  • GitHub Copilot

  • GitHub Copilot Chat

  • GitHub Pull Requests

  • GitLens

  • IntelliCode

  • Markdown All in One

  • Markdown Shortcuts

  • Prettier

  • Pylint

  • vscode-icons

Keyboard shortcuts#

  1. Command Palette: Ctrl+Shift+P

  2. Search and open a file: Ctrl+P

  3. Go to Symbol: Ctrl+Shift+O

  4. Move line up and down: Alt+Arrow up/down

  5. Go to line number: Ctrl+G

  6. Cut the Entire Line: Ctrl+X

  7. Select the entire line: Triple-clicking at the line of the line

  8. Markdown preview: Ctrl+K V

  9. Zen Mode: View > Appearance > Toggle Zen Mode

  10. Split view: View > Editor Layout > Split Up

  11. Edit multiple lines simultaneously: Hold Alt and click to add a cursor in the places you want to type or edit the code.

References#