-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Failed to load workspace when launching via cursor
instead of cursor .
#17953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Just to make sure, are you starting Both work for me, and I'm using
That's because you have a |
Good question. It looks like if I start it via the MacOS spotlight search, then it fails and if I start from the terminal, then it works (although I think a few days ago it also failed via the terminal). @truell20, maybe this is a known issue at your side? |
Well, non-MacOS Unix. |
You are absolutely right! Thanks. That's probably the issue. |
rust-analyzer version: 0.3.1958-standalone
rustc version: rustc 1.80.1 (3f5fd8dd4 2024-08-06)
editor or extension: Cursor (VSCode) with extension version 0.3.1958
repository link (if public, optional): (eg. rust-analyzer)
When I open the Cursor editor via the terminal via
cursor .
(same asvscode .
) in a specific project directory,rust-analyzer
works.However, when I open the Cursor editor without specifying the workspace via
.
, thenrust-analyzer
fails even though my folders show the same project as it would becursor .
. The error isSo the weird thing here is that the correct file is specified in the command, but still it fails. Possibly related is that my default shell is
fish
. If I copy the command, it shows an error:So that
rust-analyzer
fails makes sense, but then why does it succeed when usingcursor .
?It is possible that this behavior is as expected. Feel free to close the issue if so. I couldn't find any useful tip while searching for 20 minutes so I thought it would probably be good to write this down somewhere.
The text was updated successfully, but these errors were encountered: