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 toRust
code in bulk. - Convert
Vue2
code toVue3
code in bulk. - Convert
Vue
code toReact
code in bulk. - Convert
React
code toFlutter
code in bulk. - Convert
React class components
toReact function components
in bulk. - Convert
JSON
toYAML
in 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 copy
and review it before deciding whether to replace theoriginal file
. - When opening the
file copy
, theoriginal file
will also open simultaneously for easy comparison. - You can click the
Replace Original
button in thefile copy
to replace theoriginal file
.
- It will generate a
Usage:
- Select files or folders in the file explorer. (Multi-select: hold
Ctrl
orCmd
and 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.apiConcurrency
configuration.