> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# VS Code extension

The [Rstack](https://github.com/rstackjs/rstack-editor) VS Code extension keeps your project’s tests in sync inside the editor so you can browse, run, and debug them in VS Code. It covers the whole Rstack toolchain in a single install: testing, linting, and formatting.

![Demo of running Rstest tests inside the VS Code extension](https://assets.rspack.rs/rstest/assets/rstest-vscode-extension.gif)
## Installation

You can visit the extension’s [Visual Studio Code Marketplace page](https://marketplace.visualstudio.com/items?itemName=rstack.rstack), or install it directly inside VS Code:

- Open the _Extensions_ view (<kbd>Ctrl</kbd>/<kbd title="Cmd">⌘</kbd> + <kbd>Shift</kbd> + <kbd>X</kbd>) and search for `rstack.rstack`.
- Open the _Quick Open_ panel (<kbd>Ctrl</kbd>/<kbd title="Cmd">⌘</kbd> + <kbd>P</kbd>), enter `ext install rstack.rstack`, and press Enter.
- You can also run `code --install-extension rstack.rstack` in the terminal.

For Cursor, Trae, VSCodium, and other VS Code forks, install it from the [Open VSX Registry](https://open-vsx.org/extension/rstack/rstack).

:::tip Coming from the standalone Rstest extension

The standalone `rstack.rstest` extension is retired and receives no new features. It stays published and keeps working while the transition is underway, but we recommend switching now:

1. Install `rstack.rstack` as described above.
2. Disable or uninstall `rstack.rstest` so only one copy of Rstest runs.
3. Re-enter your settings under the `rstack.rstest.*` keys and re-bind any keybindings to the new `rstack.rstest.*` command ids. Settings are not migrated automatically. See the [migration notes](https://github.com/rstackjs/rstack-editor/blob/main/packages/vscode/README.md#coming-from-the-standalone-extensions) for details.

:::
