tfausak / purple-yolk

:hatching_chick: A Haskell IDE for Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=taylorfausak.purple-yolk
MIT License
26 stars 2 forks source link

Remove syntax highlighting? #75

Open tfausak opened 1 month ago

tfausak commented 1 month ago

Purple Yolk bundles its own syntax highlighting for both Cabal and Haskell files. There's another (very popular) extension that provides the same thing: justusadam.language-haskell. As Purple Yolk's author, obviously I prefer my syntax highlighter. However it probably makes sense to drop it and recommend the other popular one instead.

Ideally Purple Yolk could offer syntax highlighting and users could decide if they wanted it or not. Unfortunately VSCode does not work that way. If two extensions offer a grammar for the same language, one of them wins more or less arbitrarily. The user cannot choose which one they would like to use.

EduardSergeev commented 1 month ago

Another option is to extract PY's syntax highlighting into a separate extension? Then you can install both extensions if you need the current behaviour. You can even create a separate extension pack which bundles "PY" + "PY syntax highlight" extensions into a single installation unit for convenience.