Skip to content

Document LANGUAGE extensions in hover and completion - #5097

Draft
dawkrish wants to merge 5 commits into
haskell:masterfrom
dawkrish:daw/pragma-documentation
Draft

dawkrish wants to merge 5 commits into
haskell:masterfrom
dawkrish:daw/pragma-documentation

Conversation

@dawkrish

@dawkrish dawkrish commented Sep 24, 2026 •

Copy link
Copy Markdown

Summary

  • Add hover and completion documentation for LANGUAGE pragmas.
  • Show the one-line description, Since version, Status, Implies, and targeted GHC User Guide link in a Markdown table.
  • Link implied extensions to their own guide sections; omit implications for negated extensions.
  • Suppress the default HLS hover on LANGUAGE pragma lines so the new documentation is shown once per server.

Verification

  • cabal test hls-pragmas-plugin-tests (105 tests passed)
  • cabal build exe:haskell-language-server
  • git diff --check

This remains a draft for maintainer feedback.

This branch has not been deployed

No deployments
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.

1 participant