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.