> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rebind.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# Editor Setup

> Edit Rebind scripts outside the app with Luau autocomplete, hover documentation, and type checking.

The Rebind editor is ready without extra setup. External editors work on the
same files, and Rebind notices saved changes.

## Open the scripts folder

* **Windows:** `%APPDATA%\Rebind\scripts`
* **macOS:** `~/Library/Application Support/Rebind/scripts`
* **Linux:** `~/.local/share/Rebind/scripts`

Open that folder as your editor workspace. Keep modules beside their entry
script or inside its package root so runtime `require()` resolution and editor
paths describe the same tree.

## VS Code

Install the
[Luau Language Server](https://marketplace.visualstudio.com/items?itemName=JohnnyMorganz.luau-lsp),
then add `.vscode/settings.json` to the scripts workspace:

```json theme={"system"}
{
  "luau-lsp.platform.type": "standard",
  "luau-lsp.sourcemap.enabled": false,
  "luau-lsp.types.definitionFiles": [
    "https://raw.githubusercontent.com/usinput/rebind-mcp-server/main/src/rebind.d.luau"
  ]
}
```

The definition file is the same Rebind SDK surface used by the in-app editor
and the MCP server's `lua_docs` tool. The language server downloads URL-based
definition files and caches them.

For another editor, configure `luau-lsp` in standard mode and pass that same
definition file to the language server. Editor diagnostics do not
replace `rebind check`, which validates the runtime modeline, package manifest,
permissions, `require` graph, and Luau compilation.
