AI Batch Processor ​
Command Name: aide.batchProcessor
Use AI to process the code of multiple selected files according to your needs.
WARNING
This feature requires the AI model to support the function_call capability.
Scenarios:
What it can do:
- When your manager requests a project code migration, AI can handle it in bulk, giving you time to grab a coffee.
- Add detailed comments in bulk.
- Optimize code in bulk.
- Convert
C/C++code toRustcode in bulk. - Convert
Vue2code toVue3code in bulk. - Convert
Vuecode toReactcode in bulk. - Convert
Reactcode toFluttercode in bulk. - Convert
React class componentstoReact function componentsin bulk. - Convert
JSONtoYAMLin bulk. - More features await your imagination...
What it can‘t do:
- Handle specific business logic requirements.
- Split a file into multiple files.
Rest assured! Processing will not modify the original files:
- It will generate a
file copy, such asapp/index.py->app/index.py.aide.py. - You can click on the
file copyand review it before deciding whether to replace theoriginal file. - When opening the
file copy, theoriginal filewill also open simultaneously for easy comparison. - You can click the
Replace Originalbutton in thefile copyto replace theoriginal file.
- It will generate a
Usage:
- Select files or folders in the file explorer. (Multi-select: hold
CtrlorCmdand click on files or folders) - Right-click and select
✨ Aide: AI Batch Processor. - Enter your code processing requirements.
TIP
- For long file codes, there may be issues with output interruption. Currently, there is no good solution.
- Carefully review the processed files to ensure they are correct before replacing the source files. Never assume that AI-processed code is error-free.
Related Configuration:
- You can customize the AI request concurrency by modifying the
aide.apiConcurrencyconfiguration.