How To Add Extensions in VS Code? (original) (raw)

Last Updated : 20 Sep, 2024

Visual Studio Code is a lightweight but powerful source code editor that runs on your desktop and is available for Windows, macOS, and Linux. It comes with built-in support for JavaScript, TypeScript, and Node.js and has a rich ecosystem of extensions for other languages and runtimes (such as C++, C#, Java, Python, PHP, Go, and NET).

Below listed are a few of the most common downloads in VS Code Extensions

  1. **Python: Python language support with extension access points for IntelliSense (Pylance), Debugging (Python Debugger), linting, formatting, refactoring, unit tests, and more.
  2. **Pylance: A performant, feature-rich language server for Python in VS Code.
  3. **Jupyter: Jupyter notebook support, interactive programming, and computing that supports Intellisense, debugging, and more.
  4. **C/C++: C/C++ IntelliSense, debugging, and code browsing.
  5. **Jupyter Keymap: Jupyter keymaps for notebooks.

1. VS Code Extensions Capabilities

  1. Storing workspace or global data.
  2. Displaying notifications messages.
  3. Using Quick Pick to Collect user input.
  4. Open the system file picker or folders.
  5. Registering commands, Configurations, key bindings, Or Context menu items.

2. Extension Features for Programming Language

  1. Syntax Highlighting
  2. snippet completion
  3. Bracket matching
  4. Bracket auto-closing
  5. Bracket auto-surrounding
  6. Comment toggling
  7. Auto indentation
  8. Folding(using Markers)

Step-By-Step Process To Install an Extension in VS Code:

**Step 1: Open Visual Studio Code.

1

Opening Window in Visual Studio Code

**Step 2: In the Header Menu Select "EDIT" Options.

Select "Extensions" manually or Press "Ctrl+Shift+X".

2

Edit Option in VS Code

**Step 3: Search for the extensions you are looking for in the search bar.

**Example 1: In this example, we will install the "Python Extended" Extension in VS Code Extension.

4

Python Extended Extension in VS Code

5

Installation Confirmation of Python Extended

**Example 2: In this example, we will install the "Javascript Debugger" Extension in VS Code Extension.

6

Javascript Debugger Extension in VS Code

7

Installation Confirmation of Javascript Debugger

**Enable / Disable Extensions

There is an option called "Disabled" in VS code to temporarily disable the functions of the extension without deleting it permanently.

8

Disable the option in VS Code

Uninstall Extensions

You can Uninstall the extension by clicking the uninstall options below the extension Name.

11

Uninstallation Option in VS Code

12

Uninstallation Confirmation

You can follow the above steps to Install, Uninstall, and Enable/Disable Extensions in Visual Studio Code.

Conclusion

Visual Studio Code is a very powerful and versatile code editor because of its rich feature set and extensive ecosystem of extensions. Whichever programming language you choose, the extensions for Visual Studio Code have the potential to significantly enhance your development process. Visual Studio Extensions has several applications including debugging and syntax highlighting.