-
Notifications
You must be signed in to change notification settings - Fork 210
Way to Disable Brittany? #1064
Comments
Ideally, I would like to use a different formatter but still have it execute on save and when using the Format Code editor command. I thought maybe VS Code delegated everything to hie including the formatting so if I turned off brittany in hie, I could tell VS Code to use something else like hindent. Would that not work? |
There's an issue open with the VS Code HIE extension asking for the same thing: haskell/vscode-haskell#79 |
I think we could use the dynamic capability stuff to disable formatting with HIE, not sure if the internals support it yet. |
We could also just have a config flag that turns formatting requests into a NOP. And/or selects the specific formatter to use. Realistically, formatting is one of those things that everyone has their own opinion on, so we need to expose as much flexibility as possible. |
Is there a way to disable brittany? I would like to use a different formatter but I'm guessing that would be too difficult so I'm ok with disabling brittany in hie and just having my editor (VS Code) call a different formatter on save.
The text was updated successfully, but these errors were encountered: