Description
Your environment
Which OS do you use?
Windows
Which version of GHC do you use and how did you install it?
9.12.2 from ghcup
Which version of HLS do you use and how did you install it?
2.10.0.0 from ghcup
Steps to reproduce
Use ghcup tui
to install HLS 2.10.0.0. Compare the plugins for GHC 9.10.1 and 9.12.2:
PS C:\Users\svenp> Compare-Object (haskell-language-server-9.10.1.exe --list-plugins) (haskell-language-server-9.12.2.exe --list-plugins)
Output:
InputObject SideIndicator
----------- -------------
cabal-gild: <=
Provides formatting of cabal files with cabal-gild <=
fourmolu: <=
Provides formatting of Haskell files via fourmolu. Built with fourmolu-0.16.2.0 <=
gadt: <=
Provides a code action to convert datatypes to GADT syntax <=
ghcide-code-actions-bindings: <=
Provides various quick fixes for bindings <=
ghcide-code-actions-fill-holes: <=
Provides a code action to fill a hole <=
ghcide-code-actions-imports-exports: <=
Provides various quick fixes <=
ghcide-code-actions-type-signatures: <=
Provides various quick fixes for type signatures <=
ghcide-extend-import-action: <=
Provides a command to extend the import list <=
ormolu: <=
Provides formatting of Haskell files via ormolu. Built with ormolu-0.7.7.0 <=
rename: <=
Provides renaming of Haskell identifiers <=
stan: <=
Provides stan diagnostics. Built with stan-0.2.0.0 <=
Expected behaviour
The essential plugins for the latest GHC 9.12.2 are there and the docs are up-to-date.
Actual behaviour
The documentation regarding the supported plugins is out-of-sync with the actual implementation for 9.12.2, e.g. quite a few essential things are missing: Neither ormolu
nor fourmolu
is supported (i.e. no formatter present), rename
is missing (very essential, no idea why this is tier 2 and not tier 1), etc.
Is there a place in the source code where one can easily see what is actually supported? Downloading the HLS just to find out that it is effectively unusable for 9.12.2 at the moment is a bit suboptimal.