-
Notifications
You must be signed in to change notification settings - Fork 90
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
Is serverExecutablePath actually being deprecated? #529
Comments
The next release will still have it, but you have to make sure to not enable |
The deprecation warning is only regarding the scope of the option afaict. But I don't see why it should be machine scope rather than per-project scope? |
Please reconsider removing the ability to set Removing the ability to set this option on a per-workspace scope breaks a common and reasonable use case. I'll elaborate. On most Haskell projects, HLS works just fine and I'd like to be able to use it. However, on one particularly-gnarly project HLS just doesn't work at all. This project happens to be the one I most-frequently work in. On that project's workspace I use Again, this "bad" project happens to be the one I most-frequently work on, and so I definitely need to be using this alternative backend, at least for this one workspace. If |
I agree, that seems like a totally legit use-case. I have no idea why this deprecation notice was added, I will try to dig in the git logs, but if I can't find any compelling reasoning, this deprecation notice will be deprecated soon. (I.e. it will not be deprecated any longer) EDIT: |
@fendor This is why we can't have nice things 😞 (Also, thank you for checking.) |
As an alternative, a strictly-global scope setting that says |
vscode-clangd uses Documentation for I can't really tell straight away the difference between |
+1 on please DON'T I get my HLS and GHC per project via nix expressions. I set haskell.serverExecutablePath to
I'm sorry for coming here to +1 but the warning is still there and scary and nobody has mentioned the nix usecase :3 |
Removes deprecation warning. In accordance with haskell#529 (comment) don't deprecate the serverExecutablePath's scope, and set it to the standard 'machine-overridable'
Removes deprecation warning. In accordance with #529 (comment) don't deprecate the serverExecutablePath's scope, and set it to the standard 'machine-overridable'
serverExecutablePath is no longer deprecated and the scope is set to Please shout, if that doesn't work for someone. |
vscode-haskell/package.json
Line 140 in 4932194
A colleague of mine recently noticed this "deprecated scope" message. At Mercury we have quite a bit of trouble running HLS on our codebase. A coworker wrote an alternative which provides only type on hover and go to definition and we use this variable to point to the alternate provider. It makes perfect sense to default to hls, but it would be really nice to leave room for an alternate server. Thanks!
The text was updated successfully, but these errors were encountered: