←新闻详情

Amp Chronicle更新于 10月10日 21:38

Amp CLI 连接 VS Code 与 Neovim

Amp CLI connects to VS Code and Neovim - Amp

AI 导读

Amp CLI 现可连接 VS Code 和 Neovim,使 Amp 能访问当前文件、选中文本和诊断信息,并直接通过 IDE 编辑文件。用户需安装最新版 Amp CLI 及 Neovim 插件或 Amp VS Code 扩展,然后在项目根目录运行 amp --ide 即可连接当前工作区的 IDE。

正文

当前显示原文,中文全文译文尚未就绪。

You can now connect the Amp CLI to VS Code and Neovim.

This allows Amp to access your current file, selected text, and diagnostics. It also enables Amp to edit files directly through your IDE.

All that's required is the latest version of the Amp CLI, and either the Neovim plugin or the Amp VS Code extension. Then you can run amp --ide from your project root and the CLI will connect to the IDE in the current workspace.

Here, for example, is the Amp CLI connected to Neovim:

And here is the Amp CLI connected to VS Code:

Learn more about the new integration in the manual.

来源

Amp Chronicle