This already exists via MCP
> For other IDEs: The protocol is editor-agnostic. Any editor that can run a WebSocket server and implement the MCP tools can integrate with Claude Code.
https://github.com/anthropics/claude-code/issues/1234 https://github.com/coder/claudecode.nvim/blob/da78309eaa2ca2...
Example in Emacs, this is how I use claude-code: https://github.com/manzaltu/claude-code-ide.el
This is great!