vscode-haskell
vscode-haskell copied to clipboard
Remove explicit dependency on Haskell Syntax Highlighting
This extension depends on another extension called 'Haskell Syntax Highlighting' in order to highlight Haskell code. This makes it impossible to use vscode-haskell with a different syntax highlighting extension. When I try to disable the dependency I get the following error in VS Code:
Cannot disable 'Haskell Syntax Highlighting' extension alone. 'Haskell' extension depends on this. Do you want to disable all these extensions?
Would it be possible to remove this dependency or to make it optional?
Out of curiosity: which other syntax highlighting extension works for Haskell?
I hacked together my own extension from scratch several years ago. Unfortunately it's not publicly available. It looks like the mainstream extension has improved quite a lot since I wrote mine, but back then, all available extensions for VS Code were severely lacking. Now I'm used to my own extension and what is highlighted. By the way, atom also has one that can be easily ported.
I am wondering why we have that explicit dependency, I don't see a reason, except for maybe, better for beginners. Do other Language Server plugins have similar dependencies, and can they replace the syntax highlighting extension?