# VS Code

## GameSense API Snippets

*Credits to Nexxed*

1. Go to the [VSCode Marketplace page of the GameSense Lua API Snippets](https://marketplace.visualstudio.com/items?itemName=Nexxed.gamesense-lua) and click the green install button.
2. Follow the instructions.
3. Profit!

These snippets have descriptions (VSCode & Atom only) for most API functions as well as arguments and are currently up-to-date with the current API.

Thread: <https://gamesense.pub/forums/viewtopic.php?id=12394>

## Suggested extensions

* [LuaExtended](https://packagecontrol.io/packages/LuaExtended)
* [SublimeLinter](https://packagecontrol.io/packages/SublimeLinter)
* [SublimeLinter-luacheck](https://packagecontrol.io/packages/SublimeLinter-luacheck)


---

# 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://gamesensical.gitbook.io/docs/developers/development/editors/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.
