haskell / haskell-language-server

Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
Apache License 2.0
2.61k stars 351 forks source link

Lack of documentation of cabal-fmt & cabal-gild #4313

Open 0rphee opened 2 weeks ago

0rphee commented 2 weeks ago

Is your enhancement request related to a problem? Please describe.

I tried to format a cabal file with hls through the cabal-fmt plugin, but failed. Looking at the logs, I found that I needed cabal-gild:

Details

``` 2024-06-11T15:28:37.314 helix_term::application [WARN] unhandled window/showMessage: ShowMessageParams { typ: Error, message: "Error condition, please check your setup and/or the [issue tracker](https://github.com/haskell/haskell-language-server/issues): \ncabal-gild: Internal Error: No installation of cabal-gild could be found. Please install it globally, or provide the full path to the executable." } ```

I looked through the latest docs and didn't find anything...

(Looked here: https://haskell-language-server.readthedocs.io/en/latest/features.html#formatting and here: https://haskell-language-server.readthedocs.io/en/latest/support/plugin-support.html#current-plugin-support-tiers)

Describe the solution you'd like

Add documentation about:

Describe alternatives you've considered

-

Additional context

-

fendor commented 1 week ago

Thanks for the reminder! I will update the docs.