Is there a way to let the chat have access to an entire tree in one go? As an example, setting up a debian/ directory in a working set requires accessing and updating a bunch of configuration files as well as changelog, control and rules. It is a royal pain to have to set them up one at a time when the changes required are coordinated across all of them.
Hey, you can use CMD+Enter when siubmitting a chat message to let it scan your codebase for context.
If using the Composer, you can add @codebase to your prompt to do the same thing.
This will pull the most relevant files from your codebase based on the prompt you have asked, and provide it as context to the AI.
That sounds interesting. Thank you. Is there a good man page or doc file I can study on this? Claude seems to know as little about the capabilities of the Cursor environment as I do.
Hey, the best pages we have around this is probably:
I am still having problems. I type Ctrl-enter and the AI Chat cannot access the files I tell it to look at.
What I really want is to give the AI the top level, in this case named Work/ and then while talking to it suggest it compare files in disparate places. I want to talk to it like I would a collaborating programmer. I give them access rights to the work directory, and then I just say… check out file.c in subdirectory a/b/c/ and have it ‘just do what I say’.
I’m having the issues that it can never seem to see the files I am telling it to look at, even if it was able to look at it last night. It seems totally random what it can see at any given time.
I just want a ‘once and done’ solution.
If any one wishes, I could post the chat transcript.
Okay, Using the Folders command I tried
ATSIGNWork
. (the top level folder in the tree); I tried
ATSIGNliblogdma ATSIGNtemplates-1.00
Neither let the chat session see all of the files in those directories
I tried posting the transcript but it keeps telling me I can only refer to one other user when I am in fact not referring to any other users. I had to do funny things to the atsigns to get them through
I took out the atsigns in the dialogue transcript so you can see part of it.
Tell me what directories and files you can see at the moment.
From the ATSIGNlibdmalog and ATSIGNtemplates-1.00 tags, I can see:
libdmalog/
extractSession.h
examples/
CursorDataTest.m
debian/
libdmalog-dev.examples
libdmalog-dev/DEBIAN/md5sums
templates-1.00/
makeclass (script)
debian/
templates/
usr/bin/makeclass
DEBIAN/conffiles
I can see the structure and some files, but I don't see the actual Makefiles we need to modify. Could you show me:
libdmalog/Makefile
libdmalog/examples/Makefile
This will help us ensure we're making the correct changes to fix the build issue.
extractSession.h
That is a fraction of the files in those directories.