-
Notifications
You must be signed in to change notification settings - Fork 90
Let the extension manage GHC/cabal/stack? #540
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
Will the managed toolchain be available outside VSCode? In other words, is the extension is driving the system ghcup or a hidden one? If the managed toolchain is only available inside VSCode, then this doesn't seem like a good idea. Users will be confused that they can use If the managed toolchain is available everywhere, then this is fine.
Is this so that users can set their own toolchain binaries? Is this still needed if the extension is managing a global ghcup installation that puts things in PATH? |
That's up to the user to decide. The extension checks for a system ghcup on first start and asks the user if they want to use that.
Yes, because some users use custom binaries (forks) or wrappers, see #529 |
Please enter the commit message for your changes. Lines starting
Please enter the commit message for your changes. Lines starting
Done |
Since we already support managing HLS, this might be the next natural step. It would probably also have to be behind a config option. Currently the extension asks the user if they want it to manage HLS, we could extend it to 3 options:
if you pick 2., the extension will set
manageHLS
,manageGHC
,manageStack
,manageCabal
totrue
. So users who want very fine-grained behavior can dig into the config. But the popup shouldn't ask too many excessive questions.I guess we also want equivalents for
serverExecutablePath
then.Opinions @fendor ?
Relevant:
The text was updated successfully, but these errors were encountered: