|
1 | | -### aider 操作指南 |
| 1 | +### aider Guide |
2 | 2 |
|
3 | | -aider是一个AI辅助的代码编辑工具,可以根据自然语言指令修改代码。 |
| 3 | +aider is an AI-assisted code editing tool that can modify code based on natural language instructions. |
4 | 4 |
|
5 | | -用途: |
6 | | -根据用户提供的指令,自动分析和修改已添加到aider中的代码文件。 |
| 5 | +Purpose: |
| 6 | +Automatically analyze and modify code files that have been added to aider based on user-provided instructions. |
7 | 7 |
|
8 | | -使用方法: |
9 | | -1. 使用 `/aider.files.add` 命令添加需要处理的文件 |
10 | | -2. 输入 `/aider <message>` 命令,其中 `<message>` 是你想要aider执行的任务描述 |
11 | | -3. 等待aider生成建议的更改 |
12 | | -4. 在IDE中查看每个文件的Diff视图,选择是否接受修改 |
13 | | -5. 对于多个文件的更改,系统会在每个文件之后询问是否继续查看下一个文件的更改 |
| 8 | +Usage Method: |
14 | 9 |
|
15 | | -注意事项: |
16 | | -- 使用前必须先添加文件到aider,否则会提示使用 'aider.files.add' 命令 |
17 | | -- 可以使用 `aider.files.remove` 命令从aider中移除文件 |
18 | | -- 所有更改都会在IDE中以Diff视图形式展示,你可以决定是否应用这些更改 |
19 | | -- aider使用OpenAI的API,请确保已正确设置API密钥 |
| 10 | +1. Use the `/aider.files.add` command to add files that need to be processed |
| 11 | +2. Enter the `/aider <message>` command, where `<message>` is the description of the task you want aider to perform |
| 12 | +3. Wait for aider to generate suggested changes |
| 13 | +4. View the Diff view of each file in the IDE and choose whether to accept the modifications |
| 14 | +5. For changes across multiple files, the system will ask if you want to continue viewing changes in the next file after each file |
20 | 15 |
|
21 | | -示例: |
22 | | -/aider 重构这段代码以提高性能 |
| 16 | +Notes: |
23 | 17 |
|
24 | | -额外信息: |
25 | | -aider支持多种编程语言,可以执行代码重构、bug修复、性能优化等任务。它会分析当前添加的所有文件,并提供整体的改进建议。 |
| 18 | +- Files must be added to aider before use, otherwise you will be prompted to use the 'aider.files.add' command |
| 19 | +- You can use the `aider.files.remove` command to remove files from aider |
| 20 | +- All changes will be displayed in the IDE as a Diff view, and you can decide whether to apply these changes |
| 21 | +- aider uses OpenAI's API, please ensure that the API key is correctly set up |
| 22 | + |
| 23 | +Example: |
| 24 | +/aider Refactor this code to improve performance |
| 25 | + |
| 26 | +Additional Information: |
| 27 | +aider supports multiple programming languages and can perform code refactoring, bug fixing, performance optimization, and other tasks. It will analyze all files currently added and provide overall improvement suggestions. |
0 commit comments