Install
Install with PiG
pig install npm:pi-x-ideInstall with Pi
pi install npm:pi-x-idePackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"image": "https://fastly.jsdelivr.net/gh/balaenis/pi-x-ide@main/assets/icons/pi-x-ide.png",
"extensions": [
"./dist/src/pi/index.js"
]
}README
Written by the package's publisher, shown as published in version 1.20.1 (README.md). PiG does not review it.
Pi × IDE
English | 简体中文
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.
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
Development
See CONTRIBUTING.md for build, local testing, and release instructions.