When your workspace is indexed, Augment can provide tailored code suggestions and answers based on your unique codebase, best practices, coding patterns, and preferences. You can always control what files are indexed.
.gitignore
and .augmentignore
files. Indexing usually takes less than a minute but can take longer depending on the size of your codebase. In Visual Studio Code, you can use Workspace Context to view what files are indexed and add additional context.
.gitignore
file and the .augmentignore
file. You can view what files are indexed in Workspace Context.
.augmentignore
file is a list of file patterns that Augment will ignore when indexing your workspace. Create an .augmentignore
file in the root of your workspace. You can use any glob pattern that is supported by the gitignore file.
.gitignore
that you want to indexed, you can add it to your .augmentignore
file using the !
prefix.
For example, you may want your node_modules
indexed to provide Augment with context about the dependencies in their project, but it is typically included in their .gitignore
. Add !node_modules
to your .augmentignore
file.