Which LSP client (editor/plugin) do you use?
VsCode + Haskell extension
Which version of HLS do you use and how did you install it?
1.10.0.0 via ghcup tui
Have you configured HLS in any way (especially: a hie.yaml file)?
No.
Formatting settings
ormolu
Steps to reproduce
ctrl+shift+p to open a command palette. run format document.
it does not work.
ctrl+shift+p to open a command palette. run format document with. select Haskell.
Expected behaviour
the document is formatted.
Actual behaviour
no plugin enabled for STextDocumentFormatting, enabled: cabalfmt
Debug information
2023-05-27T23:39:53.105570Z | Warning | No plugin enabled for STextDocumentFormatting
[Warn - 오전 8:39:53] No plugin enabled for STextDocumentFormatting
[Error - 오전 8:39:53] Request textDocument/formatting failed.
Message: No plugin enabled for STextDocumentFormatting, available: cabalfmt
Code: -32600
2023-05-27T23:39:53.121665Z | Info | Typechecking reverse dependencies for NormalizedFilePath "/home/scarf/repo/etc/haskell/codewars/Century.hs": [ ]
[Info - 오전 8:39:53] Typechecking reverse dependencies for NormalizedFilePath "/home/scarf/repo/etc/haskell/codewars/Century.hs": [ ]
Your environment
Which OS do you use? Ubuntu 23.04 Which version of GHC do you use and how did you install it? 9.6.1, via
ghcup tui
How is your project built (alternative: link to the project)? a plain directory with a single haskell file.
Which LSP client (editor/plugin) do you use? VsCode + Haskell extension
Which version of HLS do you use and how did you install it? 1.10.0.0 via
ghcup tui
Have you configured HLS in any way (especially: a
hie.yaml
file)? No.Formatting settings
ormolu
Steps to reproduce
ctrl+shift+p
to open a command palette. runformat document
.ctrl+shift+p
to open a command palette. runformat document with
. selectHaskell
.Expected behaviour
the document is formatted.
Actual behaviour
no plugin enabled for STextDocumentFormatting, enabled: cabalfmt
Debug information