So we are able to use CMD+L then CMD+Enter to chat about the codebase, which works well. However, is there a way to focus specifically on individual folders in my workspace? For instance, if my workspace is set up as follows:
If I want to chat exclusively about “siteB,” is this possible? I’ve tried various approaches, but it always defaults to analysing the first folder. Is there a way to chat about “siteB” directly, or is this functionality unavailable?
Ahh, I didn’t know about this and good call. Sadly it doesn’t work though, when I ask Cursor to mention folders and start typing it does list my workspace folder names (as I have named them in the json, e.g. siteB) but it doesn’t seem to be able to analyse this folder, just complains there is nothing there to look at.
I tried using the absolute path to the folder as well, same story though.
I have noticed this too and also the codebase indexing only indexes the first folder in the workspace.
So when using codebase search, everything except the first folder in the workspace configuration is invisible to cursor.
The review and git features are also broken if the first folder of the workspace configuration is not the root of the git repo.
Unfortunately in my project I need the Sorbet LSP extension which only works if the ruby project is the first folder in the workspace, but I have a monorepo set up so the first folder of the workspace is not the git repo root.
So I have to choose between Sorbet LSP or the following cursor features: git integration, reviews, codebase indexing.