# Visual Studio Code

## Extensions

Our favorite extensions to install

### &#x20;#region folding for VS Code

<https://marketplace.visualstudio.com/items?itemName=maptz.regionfolder>

Collapse large code sections neatly

In TypeScript;

```
...

// #region My region

... code

// #endregion

...
```

{% hint style="info" %}
Also looks great in the right side preview window&#x20;
{% endhint %}

### Live Sass Compiler

Compile Sass or Scss to CSS at realtime.

* Create your .scss file
* Select it and click **Watch Sass** at the bottom of the page
* All changes will be automatically recompiled as you edit them &#x20;

<https://marketplace.visualstudio.com/items?itemName=glenn2223.live-sass>

Generally we want our CSS files in `/dist/css`.  Here's how to achieve that.&#x20;

### settings.json

This is the general configuration file for Live Sass Compiler, and can be found here on Windows.&#x20;

`/C:/Users/OEM/AppData/Roaming/Code/User/settings.json`.

```jsonc
{
    "git.confirmSync": false,
    "liveSassCompile.settings.autoprefix": [
    ],
    "liveSassCompile.settings.formats": [{
        "format": "expanded",
        "extensionName": ".css",
        "savePath": "/dist/css"
    }]
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://engine.sygnal.com/tech-stack/visual-studio-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
