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

Add Haskell language server support #35

Open
morganthomas opened this issue Oct 31, 2022 · 4 comments
Open

Add Haskell language server support #35

morganthomas opened this issue Oct 31, 2022 · 4 comments

Comments

@morganthomas
Copy link
Contributor

No description provided.

@locallycompact
Copy link
Contributor

We can have this in a few hours if we don't need plugins, otherwise we are blocked everything successfully building against 9.4

@morganthomas
Copy link
Contributor Author

@marcinbugaj , see above. Do we need HLS plugins?

@marcinbugaj
Copy link

marcinbugaj commented Nov 2, 2022

The most crucial features are: jump to definition, find references, type information on hover, highlighting references. According to: https://haskell-language-server.readthedocs.io/en/latest/features.html the aforementioned features are provided by ghcide. Features like import refining, formatting, linting are provided by other plugins. It seems to me that we can settle for those crucial features and omit plugins.

@marcinbugaj
Copy link

marcinbugaj commented Nov 2, 2022

On the other hand here: https://haskell-language-server.readthedocs.io/en/latest/support/plugin-support.html ghcide functionality is described as being a plugin. It seems we need at least core ghcide plugins/tier 1 plugins. From the attached link it follows that most non-tier1 plugins are not supported for ghc 9.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants