Skip to content
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

global lsp settings should fail when using a relative path #21970

Open
1 task done
hferreiro opened this issue Dec 13, 2024 · 0 comments
Open
1 task done

global lsp settings should fail when using a relative path #21970

hferreiro opened this issue Dec 13, 2024 · 0 comments
Labels
admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue

Comments

@hferreiro
Copy link
Contributor

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

If a relative path is added to lsp.clangd.binary.path setting, Zed won't complain, but it can fail unexpectedly. In my case, I had closed a project where the path didn't exist while the other open Zed windows where for projects where the relative path was available, but I've got an error because the working directory was picked from the project last closed.

Environment

Zed: v0.165.4 (Zed)
OS: macOS 15.1.1
Memory: 32 GiB
Architecture: aarch64

If applicable, add screenshots or screencasts of the incorrect state / behavior

No response

If applicable, attach your Zed.log file to this issue.

Zed.log

@hferreiro hferreiro added admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue
Projects
None yet
Development

No branches or pull requests

1 participant