2.9. AI - Code Sage Module
This can empower developers to enhance their code, develop more efficient and secure smart contracts, and dApps.
Last updated
Was this helpful?
This can empower developers to enhance their code, develop more efficient and secure smart contracts, and dApps.
Last updated
Was this helpful?
The plugins will be displayed in the sidebar on the right side for users. Clicking on a plugin will expand its functionality menu.
ChainIDE Code Sage currently supports five functions:
Commentator: Add comments to the code.
DeCommentator: Remove comments from the code.
Advisor: Provide suggestions for code optimization.
Refactorer: Identify and fix code defects.
Code Generator: Generate the code you need in a conversational manner.
Users can click on the four buttons on the right to quickly perform the corresponding operations on all the code in the currently open file. For example, clicking a button can provide detailed comments for smart contracts.
Users can also select the code block they want to operate on, right-click to open quick actions, and choose the operation they want to perform.