-
Notifications
You must be signed in to change notification settings - Fork 2
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
Installing VSCode / Haskell Language Server #92
Comments
Really interesting experience report, it think we will able to improve some things in hls and the vscode extension thanks to. 👍 |
Versioning of the extension and server are different indeed. The extension is named "haskell" so it could drive to some confusion. Not sure what can we do here tbh, suggestions will be very welcomed!
The description of the issue assumes knowledge from the user about "plugins", "formatters" and "hackage releases" which can confuse user for sure. Will update the description to try to clarify the level of support (which is actually quite complete imo) |
The download page already gives you clear instructions on what to do if you don't like Which also clearly explains PATH. Did you follow those steps? |
@goldfirere i've updated the issue description, let me know if you think it would help to take a decision about using ghc-9.0.1 |
Thanks for your encouragement here!
This is indeed hard. Many extensions in VSCode are given names that simply mimic what the extension supports (e.g. Jupyter, Python, Haskell). So perhaps that's a convention that I did not know. Having used VSCode now for a few weeks, I don't think I would be confused on this point today. Maybe no action to take here.
I like the "state of support" introduction. That's very helpful. One small problem is that it says I should change only if interested in specific formatters, etc. But the checkboxes don't link to any further information. For example, the hls-class-plugin is not currently supported. I don't know what this does or whether I'm interested in it. Is there a link to further (already existing) information? (This particular one is not just the 9.0.1-readiness page. In the VSCode settings, I have "Plugin > Class: Global On", with the description "Enables type class plugin" -- even after a few weeks of use, I still don't know what this does.) Ideally, I would think that HLS would have some sort of "table of contents", listing all the plugins for it, and linking to those plugins' descriptions. This table of contents would then make a great template for GHC-version readiness tickets, keeping links intact. Yes, I agree that there are alternative instructions now, and that the alternative instructions describe how I can just install a ghcup binary (good!). These instructions might have been there when I tried this, as well (it was mid-August). A challenge with UI design is that the interesting part of your program is executed on very individualized pieces of hardware (your users' brains) -- and this hardware is very non-deterministic. Perhaps the page was and is as good as it can be -- I have no suggestions to offer, and on review today, all looks well (except for the fact that it is styled differently than the rest of haskell.org, which does give one pause during downloading, an act that requires some degree of trust). Yet the experience above really did happen. Maybe the problem is that I'm not against Thanks again all for your constructive responses. My post was a bit snarky in retrospect, but it expresses the genuine frustration I felt at the time. |
Absolutely agree, we have some demos in the vscode extension README and hls docs but it is clearly insufficient.
But not all has it (class plugin even dont have a README) and they are not linked in a cohesive way. We have an issue about though: haskell/haskell-language-server#2066 And you know having the issue is half of the work 😛 |
haskell/haskell-language-server#2066 makes me happy. Yes, having an issue is indeed half the work! It means that the problem has been identified, which is sometimes harder than fixing it. Thanks, @jneira! |
It was.
I'm very bad at UI and frontend. I stole the design from rustup. If anyone wants to step up making These things are indeed hard and I'm no expert on this. |
Well, me neither but from the concrete feedback i can imagine:
|
I think this one can be closed. Thanks! |
Last month, I tried installing VSCode and Haskell Language Server. I wrote a log of my experiences, but could not think of where to send it. This repo seems like a good place, and so I'm sending it here.
Background:
What happened:
curl
line. I don't wish to execute, because no one has told me what the line does, other than "install Haskell". But I already have Haskell, so I don't like it.x = 5
. I am very pleased when a littlex :: Integer
appears right above my definition. I feel a distinct sense of success at conquering a wily foe: the Haskell installation process.The text was updated successfully, but these errors were encountered: