- Aider
- Aider
- 5 Installs
-
This extension is allowed to:
- Read & Write Files
- Launch Subprocesses
- Send Network Requests
Readme
Aider
Aider integration for Nova
Overview
This Nova extension provides seamless integration with Aider, an AI pair programming tool. It allows you to chat with AI about your code directly from within Nova, with full context awareness of your project files.
Features
- Context-aware AI chat: The extension automatically provides Aider with context about your open files and project structure
- File management: View and manage which files are included in your Aider session (editable or read-only)
- Code snippets: Select code snippets in Nova and include them in your Aider conversations
- Git integration: Respects your
.gitignore
settings - Real-time sync: Changes made by Aider are reflected immediately in Nova
Setup
Prerequisites
Install uv
- Python package manager
Installation
- Install the Aider extension for Nova from the Extension Library
- Open a project in Nova
- Run the
Copy start script to clipboard
command from the Command Palette - Open your terminal and navigate to your project directory
- Paste and run the copied command:
cd path/to/nova/project
# paste command, e.g.:
uv run --python python3.12 --with aider-chat '/Users/ajcaldwell/Library/Application Support/Nova/Extensions/dev.ajcaldwell.aider/nova-aider.py'
Usage
Starting a Session
- Follow the setup steps above to start the Aider server
- The extension will automatically connect and show your project context in the sidebar
- Use Nova's command palette to send messages to Aider
Managing Files
The extension provides a context tree in the sidebar showing:
- Editable files: Files that Aider can modify
- Read-only files: Files that Aider can read but not modify
- Suggested files: Files that Aider recommends adding to the session
- Snippets: Snippets added to the aider session
Working with Code Snippets
- Select code in any open file
- Use
Add to context
command (cmd-l) - The selected snippet will be available to include in your Aider conversations
- Snippets show the file name and line range for context
Commands
Available through Nova's Command Palette:
Chat with selection
(cmd-k) - Chat with aider about the selected textAdd to context
(cmd-l) - Add snippet to aider contextCopy start script to clipboard
- Get the command to start the Aider serverRefresh gitignored files
- Update extension with currently ignored files
Configuration
The extension automatically:
- Respects your project's
.gitignore
file - Tracks open files in Nova
- Maintains sync between Nova and Aider sessions
Troubleshooting
Getting Help
- Check the Aider documentation for general usage
- Report extension-specific issues on the project repository
Changelog
Version 1.0
- Initial release