@ Symbols do not work for code in node_modules when .gitignore and .cursorignore do not exist

I’m unable to get @ Symbols working in cursor for code in my node_modules. I do not have a .gitignore nor a .cursorignore

I’ve deleted and recreated indexes with no luck. What am I missing?

Here’s a demo repo you can use for your convenience that has a screen recording:

ya. we sort of ignore node_modules bc of our setup. one cool way to add to the chat is cmd-shift-l (after selecting that area) or you can right click and do “add to chat”! finally if you have a file in node_modules open in the editor, you can just drag it in to the chat also!

Thanks for the reply

we sort of ignore node_modules bc of our setup.

Are you saying that there’s some sort of default .cursorignore that’s hidden?
Am I able to bypass node_modules being ignored?

one cool way to add to the chat is cmd-shift-l (after selecting that area) or you can right click and do “add to chat”! f

I know that selecting code and opening up chat will bring that code into the chat context, but hoping I don’t need to do this every time I need to refer to that code.

More context on the problem I’m trying to solve:
Some node_modules contain types and code that I’d like to be able to reference with @ Symbols. Ideally I’m not having to open up relevant portion of node_modules to provide that context and I’m simply able to refer to relevant symbols in my normal workflow. At least one other person wants this as well.

I wasn’t able to have much luck with getting .cursorignore to undo the exclusion that my .gitignore was doing (relevant thread) so I figured I’d first remove the .gitignore to test if I could refer to my node_modules at all, which brings us here.

I am also continually correcting cursor, lately in c#, in different languages, using concrete types. Not supporting or ignoring concrete types is creating pain. @sualeh