vscode-haskell icon indicating copy to clipboard operation
vscode-haskell copied to clipboard

Add `haskell.plugin.fourmolu.config.path` option

Open georgefst opened this issue 2 years ago • 1 comments

Companion to https://github.com/haskell/haskell-language-server/pull/3860. Shouldn't be merged until that is.

The added lines come from manually inspecting the output of cabal run exe:haskell-language-server vscode-extension-schema. Do we have a better automatic process for this (I'm sure it'd be fairly easy to script with jq, perhaps after an initial commit re-ordering things)?

georgefst avatar Nov 05 '23 23:11 georgefst

Do we have a better automatic process for this

We don't, unfortunately :( The output of HLS should be sorted already, so I just copy and paste it in.

What makes this task especially tedious, you need to be careful to run vscode-extension-schema with a HLS binary that supports all plugins, otherwise some entries will be missing, since vscode-extension-schema depends on the installed plugins. We had an idea to decouple the plugin from its configuration to fix this, but no one got around to it, yet.

fendor avatar Nov 06 '23 07:11 fendor