Aider Composer is a VSCode extension that integrates Aider into your development workflow. This extension is highly inspired by cursor and cline.
It is highly recommended to read the Requirements and Extension Settings sections for initial configuration, otherwise the extension may not work correctly.
ask
, diff
, diff-fenced
, udiff
, and whole
, and you can easily switch between themhttp.proxy
setting, authentication not supported)Due to certain limitations and other issues, this extension may not implement all features available in Aider. Some limitations include:
This extension uses the Python packages aider-chat
and flask
to provide background services. You need to:
pip install aider-chat flask
This extension contributes the following setting:
aider-composer.pythonPath
: The directory containing the Python executable (not the Python executable path itself) where aider.chat
and flask
packages are installed. This setting is required for the extension to activate.Aider supports five chat modes: ask
, diff
, diff-fenced
, udiff
, and whole
. In this extension, you can switch between them by clicking the mode name in the chat input area.
The chat modes are divided into two groups: ask
and code
.
ask
mode is for general questions and will not modify any filescode
mode includes all other chat modes and is used for code modifications. The optimal chat mode may vary depending on your LLM model and programming language. For more information, refer to Aider's leaderboards.whole
mode may be the easiest for LLMs to understand but can consume more tokensIn Aider, you can reference files in the chat, file reference can be readonly or editable. a readonly file can't be modified.
In this extension, file reference is above the chat input area, you can click the file name to toggle the reference mode. when reference is highlighted border, it means the file is editable. there is two ways to add a new file reference:
@
to reference a file in chat input area, this file will be editable by default.when Aider modify code, it will show you a diff editor, you can review the code changes and confirm to apply them by clicking the button ✔
at editor toolbar.
Enjoy!