# Code Editors

## VS Code

Visual Studio Code (VS Code) is a cross-platform editor from Microsoft. It has a plethora of features, built-in tools, and plugins to help your write and debug your Empirica code. And it is particularly easy to install, launch, and use.

To get started, head over to <https://code.visualstudio.com/download>, download the installer, and follow the instructions. That's it's you're ready to go.

{% hint style="info" %}

#### On Windows with WSL

You first need to install it on your normal Windows machine as instructed above. Then you need to get this extension install on your VS Code: <https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl>

Once this is done, you can easily launch VS Code from the command line in your WSL with:

```
code <directory>
```

Or if you want to open the directory you are currently in with VS Code you can use:

```
code .
```

{% endhint %}


---

# 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://docs.empirica.ly/resources/code-editors.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.
