Aibolit is a Visual Studio Code extension that helps you copy the content of selected files into a structured format, optimized for use in AI chat interfaces like ChatGPT or Claude.
- Select one or more files in the File Explorer.
- Run a command to copy their contents in a clean, formatted style.
- Ideal for sending code to AI chats for review, refactoring, or debugging.
- Open the File Explorer in VS Code.
- Select one or more files.
- Open the Command Palette (
Ctrl+Shift+PorCmd+Shift+Pon Mac). - Run the command:
Aibolit: Copy Selected Files for AI. - Paste the copied result into your AI chat window.
Each file will be formatted like this:
---- BEGIN FILE: path/to/file.js ---- ---- END FILE: path/to/file.js ----
To build the extension locally:
Install vsce if you haven’t already:
npm install -g vsce
Install dependencies:
npm install
Package the extension:
vsce package
This will generate a .vsix file (e.g. aibolit-0.0.1.vsix).
To install the packaged extension manually:
code --install-extension aibolit-0.0.1.vsix
To uninstall it:
code --uninstall-extension your-publisher.aibolit