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

Cabal-fmt plugin is not active for formatting #3613

Closed
VeryMilkyJoe opened this issue May 30, 2023 · 0 comments · Fixed by #3615
Closed

Cabal-fmt plugin is not active for formatting #3613

VeryMilkyJoe opened this issue May 30, 2023 · 0 comments · Fixed by #3615
Labels
type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Comments

@VeryMilkyJoe
Copy link
Collaborator

VeryMilkyJoe commented May 30, 2023

Formatting with cabal-fmt does not work at all.
Error message:

[Error - 13:55:31] Request textDocument/formatting failed.
Message: No plugin enabled for STextDocumentFormatting, available: ormolu, cabalfmt, stylish-haskell, floskell, fourmolu
Code: -32600


HLS version: 2.0.0
GHC version: 9.4.5

@VeryMilkyJoe VeryMilkyJoe added type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc.. component: hls-cabal-fmt-plugin labels May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant