For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/guide/basic/vscode-extension.md.
close
  • 简体中文
  • VS Code 扩展

    Rstack VS Code 扩展能够在编辑器内同步项目测试,让你在 VS Code 中浏览、运行和调试测试。它一次安装即覆盖整个 Rstack 工具链:测试、检查和格式化。

    VS Code 扩展中运行 Rstest 测试的演示

    安装

    你可以访问扩展的 Visual Studio Code Marketplace 页面,也可以直接在 VS Code 内安装:

    • 打开「扩展」视图(^/ + + X),搜索 rstack.rstack
    • 打开「快速打开」面板(^/ + P),输入 ext install rstack.rstack 并按 Enter。
    • 也可以在终端执行 code --install-extension rstack.rstack

    Cursor、Trae、VSCodium 等 VS Code 衍生编辑器可从 Open VSX Registry 安装。

    从独立的 Rstest 扩展迁移

    独立的 rstack.rstest 扩展已停止新功能开发。在过渡期间它仍会保持发布并可正常使用,但建议现在就切换:

    1. 按上述方式安装 rstack.rstack
    2. 禁用或卸载 rstack.rstest,避免同时运行两份 Rstest。
    3. rstack.rstest.* 下重新填写你的配置,并把快捷键重新绑定到新的 rstack.rstest.* 命令 id。配置不会自动迁移,详见迁移说明