> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/open-source/use-harness-open-source/gitspaces/develop-in-gitspaces/extensions.md).

# Pre-Installed Extensions in Gitspace

This guide explains how to configure your Gitspace to automatically install extensions during setup. Let’s dive into the details.

### What is "extensions"? <a href="#what-is-extensions" id="what-is-extensions"></a>

`extensions` refer to a **Visual Studio Code-specific** property used to automate the installation of extensions in your Gitspace. This property is an array of extension IDs that specifies which extensions should be installed when the Gitspace is created. ([Read more about the specification here.](https://containers.dev/supporting))

Since `"extensions"` is a Visual Studio Code-specific property, it must be added under the `"vscode"` section within the `"customizations"` property.

### Adding “extensions” to devcontainer.json <a href="#adding-extensions-to-devcontainerjson" id="adding-extensions-to-devcontainerjson"></a>

Here’s how to add the `extensions` property to your `devcontainer.json` configuration:

```
"customizations": {
  "vscode": {
    "extensions": ["streetsidesoftware.code-spell-checker"]
  }
}
```

You can find the `extension ID` in the **“More info”** section of the official extension documentation. ![](/files/at2biP2uK5JXheX4gTHa)

### Verifying the Setup <a href="#verifying-the-setup" id="verifying-the-setup"></a>

After adding this property, you can verify the setup by reviewing the **container logs** during the creation of a Gitspace via the Harness UI.

![](/files/J4TaV8KRtXyNMlKCxZLL)

### Behavior in VS Code Browser <a href="#behavior-in-vs-code-browser" id="behavior-in-vs-code-browser"></a>

Once your Gitspace is created and started in the VS Code Browser, the specified extensions (as defined in `devcontainer.json`) will be pre-installed in your browser IDE within the Gitspace.

### Behavior in VS Code Desktop <a href="#behavior-in-vs-code-desktop" id="behavior-in-vs-code-desktop"></a>

When using VS Code Desktop, the specified extensions will not be pre-installed automatically. Instead, you’ll be prompted with a recommendation to install them upon starting your Gitspace. This is the default behavior for extensions in the VS Code Desktop environment.
