Add context to your workspace
You can add additional context to your workspace–such as additional repositories and folders–to give Augment a full view of your system.
About Workspace Context
Augment is powered by its deep understanding of your code. You’ll need to configure your project’s source in your workspace context to get full codebase understanding in your chats and suggestions.
Sometimes important parts of your system exist outside of the current project. For example, you may have seperate frontend and backend repositories or have many services across multiple repositories. Adding additional codebases to your workspace context will improve the code suggestions and chat responses from Augment.
Add context to your workspace
Be sure to set g:augment_workspace_folders
before the Augment plugin is loaded.
To add context to your workspace, in your .vimrc
set g:augment_workspace_folders
to a list of paths to the folders you want to add to your workspace context. For example:
You may want to ignore specific folders, like node_modules
, see Ignoring files with .augmentignore for more details.
After adding a workspace folder and restarting Vim, the output of the :Augment status command will include the syncing progress for the added folder.