Default Codebase Chat

If a codebase isn’t indexed, Cursor Chat will first attempt to compute a few search queries to be used to search across your codebase. For better accuracy, it’s recommended to use embeddings search.

With codebase indexing, Cursor Chat can accurately generate responses based on your codebase.

By pressing Ctrl/⌘ + Enter after typing a message, Cursor Chat scans through your indexed codebase to find pieces of relevant code. This is generally good for quickly including code snippets to be taken into the context of the conversation. For more control over the codebase search and better accuracy, you can use @codebase.

Cursor codebase chat goes through a more detailed search when @Codebase is used.

See more about @Codebase here.