haskell / vscode-haskell

VS Code extension for Haskell, powered by haskell-language-server
https://marketplace.visualstudio.com/items?itemName=haskell.haskell
Other
561 stars 90 forks source link

Make clear interaction between this extension and other haskell related ones #366

Open andrewufrank opened 3 years ago

andrewufrank commented 3 years ago

I got vscode-haskell to work - for example I can sue Code evaluation, but I cannot see completion. I am wondering what are the additional extensions I should install. Could somebody add the current list of required extensions to the README? At the moment I have installed and enabled:

jneira commented 3 years ago

Your current set of extensions would be enough to make completions work (to be precise Haskell 1.2.0 alone should work)

which extensions MUST NOT be installed and would interfere with Haskell 1.2.0?

Afaik, those extension could interfere with the main one Haskell:

Other ones would duplicate existent features in Haskell (and potentially could interfere)

Not sure about the rest, as i've not tried it

At least the list of what should be installed would be helpful for beginners!

The required extension to make basic functionality like completions work is Haskell (this repo is its home!) and Haskell Syntax Highlighting (it is declared as dependency of Haskell and should be installed automatically) so not sure if this repo could be the place where suggest what other extensions than itself should be used. But warn in the README what extensions could interfere with this one could be definitely helpful.

jneira commented 3 years ago

I got vscode-haskell to work - for example I can sue Code evaluation, but I cannot see completion

About the concrete problem, could you open an issue in the haskell-language-server repo, following if possible the new issue template? https://github.com/haskell/haskell-language-server/issues/new

andrewufrank commented 3 years ago

Thank you for the clarification (please add to README for others: the confusion with which extensions must be/must not be installed is very confusing when you start with the HLS). I have now only Haskell and Haskell Syntax Highlighting on and no code completion. There are settings in the Haskell extension for Formatting (I assume this would required installing a formater, e.g. Ormolu) and Hlint On (which is set - but would this require an extension?). I will open a new issue for the lack of completion. - Thank you for the help!

jneira commented 3 years ago

There are settings in the Haskell extension for Formatting (I assume this would required installing a formater, e.g. Ormolu) and Hlint On (which is set - but would this require an extension?).

No additional installation required for formatting, haskell-language server has included all formatters and you only have to choose your preferred one in the configuration

please add to README for others: the confusion with which extensions must be/must not be installed is very confusing when you start with the HLS)

Yeah, i will open the issue renaming it (if you dont mind) to mark docs need to be updated