# Visual Studio Code Extension

You can use Ops extension to manage your local unikernels in Visual Studio Code. Access the [marketplace](https://marketplace.visualstudio.com/items?itemName=nanovms.ops) to download or search for ops in Visual Studio Code extension explorer.

Use the shorcut `ctrl+shift+P` or `cmd+shift+P` to open the commands pallete and select one of the next commands.

| Command            | Description                                                                                                               |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------- |
| Ops: Run           | Allows to select an elf or javascript file from the filesystem and launch the program on an unikernel.                    |
| Ops: Stop          | Allows to select a running unikernel and stops the execution.                                                             |
| Ops: Run open file | Launches an unikernel with the file that is opened in the editor. Currently, this command only supports javascript files. |
| Ops: Build         | Allows to select an elf file or javscript file and prepares a nanos image to run the program.                             |


---

# 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.ops.city/ops/tools/vscode.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.
