CodeAegix Agent for VS Code
Lets a CodeAegix secure code review read the folder you have open in VS Code. Your code is not uploaded: the review
asks for one file or folder at a time over a live connection, and nothing is stored on the CodeAegix server. It does the
same job as the downloadable CodeAegix agent program, from inside the editor.
Use
- In the CodeAegix Portal create a review with source Agent and copy the tenant, review id and pairing
token it shows (the token is shown once).
- Open the code folder in VS Code.
- Run CodeAegix: Connect to a Review (or click the status bar item) and paste the Portal's VS Code connection URL
(one value), or press Enter and type the three values.
- Keep VS Code open on that folder while the review runs. Closing it pauses the review; connect again to continue.
Applying fixes (write mode): ON by default. Only fixes an administrator approves in the Portal are written, one file at a time. A file with
unsaved changes in the editor is never touched. To start read-only instead, set codeaegix.applyFixesByDefault to false (a machine/user setting —
a repository cannot change it); you can also switch it off or on any time from the status bar item.
Other editors: the same .vsix installs in Cursor, VSCodium, Windsurf and other VS Code-based editors (Extensions → … → Install from VSIX…, or
cursor --install-extension <file>.vsix). It needs editor version 1.85 or newer.
If the connection is refused the token (or tenant, or review id) is wrong, or the review no longer exists. The saved
token is removed. A pairing token cannot be recovered; if it was lost, create the review again in the Portal.
Requires a trusted workspace. Setting codeaegix.serverUrl changes the server (for a staging server only).