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

Break down ghcide functionality in HLS plugins #1257

Merged
merged 8 commits into from
Jan 25, 2021

Conversation

pepeiborra
Copy link
Collaborator

This is a continuation of the work started in #701 to split out ghcide functionality in HLS plugins.

Splitting provides several benefits:

  • Commands can be declared independently, which couldn't be done with the lower level plugin model in ghcide
  • Each provider gets its own error handling
  • Providers can run in parallel

Later on, we may want to break completions down further as discussed in #724

Closes #724

@pepeiborra pepeiborra force-pushed the clean-up-handlers branch 4 times, most recently from 9f01f2e to 9c98662 Compare January 24, 2021 14:46
Copy link
Member

@jneira jneira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice refactor, the structure looks cleaner now

We might want to break them down into multiple HLS plugins
later on (local, non local, and module header).
@pepeiborra pepeiborra merged commit 0c9dd30 into haskell:master Jan 25, 2021
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

Successfully merging this pull request may close these issues.

Extract ghcide completions and code actions into HLS plugins
2 participants