Mentat VSCode Extension
Local development setup
These instructions will run through the workflow of running the project locally and (optionally) using the VSCode debugger for the extension and the webviews.
Without the VSCode Debugger
If you want to just open VSCode with the extension running (without the VSCode Debugger), use:
At this point the extension is running and you should see the Mentat logo attached to the sidebar. You don't have to follow the rest of the setup instructions. Congrats!
With the VSCode Debugger
Press "f5" or navigate to the "Run and Debug" menu on the sidebar click the green arrow at the top of the menu. The "Run Extension" launch configuration should be selected.
If everything runs correctly you should see:
The extension will be built correctly if the sidebar is populated with the extension UI.
At this point in the second VSCode window (the one with the extension running) you can load the webview debug tools. Open the command shortcut menu ("<cmd> + <shift> + P" for macos) and type "Developer: Open Webview Developer Tools".
With the Webview Developer Tools panel active, Typescript files used in the webview can be opened with the file browser menu ("<cmd> + P" for macos) and breakpoints can be set as if you were setting breakpoints in a browser.
The extension and webviews will be rebuilt automatically on save, however to see your changes you need to refresh the VSCode window running the extension manually ("<cmd> + R" for macos).
The Mentat VSCode Extension code is broken up into 2 main sections:
A complete overview on how to publish a VSCode Extension can be found here.
The extension and webviews will be built, and then packaged into a
Follow these instructions for creating/accessing PAT's.
The Mentat VSCode Extension is under https://dev.azure.com/AbanteAI
After your PAT is created, log in with it: