Skip to main content

VS Code Extensions

VS Code extensions are add-ons that enhance the functionality of Visual Studio Code. Extensions can provide language support, linters, debuggers, themes, utilities, and much more. The VS Code Marketplace offers thousands of extensions for every workflow.


🌟 Why Use Extensions?​

  • Add support for new programming languages and frameworks.
  • Improve code quality with linters and formatters.
  • Integrate with version control systems like Git and GitHub.
  • Customize the editor’s appearance and behavior.
  • Boost productivity with utilities and shortcuts.

πŸ› οΈ How to Install Extensions​

  1. Open the Extensions panel:
    • Ctrl+Shift+X (Windows/Linux)
    • Cmd+Shift+X (macOS)
  2. Search for the extension name.
  3. Click Install.

Or install from the command line:

code --install-extension <extension-identifier>
# Example:
code --install-extension ms-python.python

Utility​

  • Vim β€” Vim emulation for modal editing.
  • File Icons β€” File-specific icons for improved navigation.
  • Prettier β€” Code formatter for JavaScript, TypeScript, CSS, and more.
  • Code Runner β€” Run code snippets or files in multiple languages.
  • Remote Development β€” Work with remote containers, SSH, or WSL.
  • TODO Highlight β€” Highlight TODO, FIXME, and other annotations.
  • TODO+ β€” Manage and track TODO lists in your code.

Python​

  • Python β€” Rich support for Python language, linting, debugging, and Jupyter notebooks.

Git​

HTML​

TOML​

CSS​

  • Stylelint β€” Lint CSS/SCSS/Less with Stylelint.

Markdown​

Ruby​

  • Ruby β€” Ruby language and debugging support.

Bash​


πŸ§‘β€πŸ’» Example: Using Prettier​

  1. Install the Prettier extension.
  2. Open a JavaScript, TypeScript, or CSS file.
  3. Format the file:
    • Right-click and select Format Document
    • Or use the shortcut: Shift+Alt+F


πŸ“ Notes​

  • Disable or uninstall unused extensions to keep VS Code fast.
  • Many extensions have customizable settings in the Settings UI or settings.json.
  • Extensions can be updated automatically or manually from the Extensions panel.