In Windows 11, I have a system’s code in a repository that I’m opening with Cursor. This system connects to an API from another system, which I also have a local clone of. At the same time, that API repository connects to a SQL Server database whose objects I also maintain with a SQL text object repository for versioning, but in other words, it’s simply another repository with source objects.
What I want is for the Cursor editor to know the location of these other two repositories on my local disk and be able to make the relationships in the entry points that are invoked to analyze code and provide answers. One of the repositories is in a sibling folder and the other is in a higher folder. I have access to both because they are on drive D.
I’ve tried several methods: relative, absolute, even the ones suggested by Cursor, but then it doesn’t see them.
I’ve tried dropping a file from that other repository onto the cursor prompt, and it reads it correctly as @d:\DESA\… Then, in .cursor-workspace, it’s configured as shown below, but when the AI tries to open something, it says “Could not resolve URI: Error: Unable to resolve nonexistent file.”
Is this possible? How should it be done in Windows 11?
Thanks in advance.
{
"folders": [
{
"path": "."
},
{
"path": "@d:\\DESA\\trf-v2",
"name": "API Externa"
},
{
"path": "@d:\\Sql-Source-Control",
"name": "SQL Server Definitions"
}
],
"settings": {
"cursor.includePaths": [
"D:\\DESA\\trf-v2",
"D:\\Sql-Source-Control"
],
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true
}
}
}