原始内容
Pi × IDE
Pi extension package for IDE selection context integration.
Automatically attaches the currently opened or selected file and text range from VS Code, Zed, Neovim, and JetBrains IDEs to the Pi TUI, submitting them as conversation context to the LLM.
Quick start
pi install npm:pi-x-ide
Install the IDE extension for your editor, then start Pi from your project directory:
pi
Open a file, select some text, and press Ctrl+Alt+K in the Pi TUI to attach it
as @src/foo.ts#L10-L20. New to Pi × IDE? Follow the
5-minute tutorial.
Documentation
Learning
- Get started — from install to your first attached selection
How-to guides
- Install for VS Code / Cursor / Windsurf
- Use with Zed
- Install the Neovim plugin
- Install the JetBrains plugin
- Use over WSL2
- Troubleshoot a missing connection
Reference
Explanation
中文文档见 README.zh-CN.md。
Development
See CONTRIBUTING.md for build, local testing, and release instructions.