Hi,
does Cursor have an equivalent for this functionality?
Open a file to a specific line and column number:
vscode://file/path/to/file/file.ext:L:C
Thanks!
Hi,
does Cursor have an equivalent for this functionality?
Open a file to a specific line and column number:
vscode://file/path/to/file/file.ext:L:C
Thanks!
I think it should work when you replace “vscode” at the beginning with “cursor”.
cursor://file/path/to/file/file.ext:L:C
OK, I think vscode:// or cursor:// don’t work for me and I have no idea why, but probably not a Cursor problem.
In case it interests someone, you can do this:
Note that this will override vscode:// urls so use at your own discretion!
Hi,
Give this a shot, you may need to restart Cursor and your browser but it’s working for me:
cursor://file/{path}:{line}
Just set this environment variable before doing npm run dev
REACT_EDITOR=cursor
Or set this in your .env.local file