How can I load in context from open source projects I'm using?

Thank you for one of the most impressive pieces of software I’ve used in the last decade.

Just wondering - does anyone know how to load arbitrary code into cursors context from other directories?

I’d like to say “hey here’s a code example please learn patterns from it” or point it at a full directory and do the same thing.

@johngallagher One way that I am aware of is by adding arbitrary locations (directories, source JAR files) to the Cursor workspace index. This index is per-workspace, so you may have to repeat this action for every project.