atom-haskell-archive / haskell-ghc-mod

haskell-ghc-mod atom package
https://atom.io/packages/haskell-ghc-mod
MIT License
69 stars 20 forks source link

Haskell menu does not appear #241

Open ObiWanKenobi98 opened 5 years ago

ObiWanKenobi98 commented 5 years ago

Although I have installed the required packages for Haskell support in Atom, the menu for Haskell support does not appear next to the Help menu or anywhere else. I have already tried disabling and enabling the packages, but it does not work. I have to mention that, previously, I have been able to see that menu, but I couldn't properly use the functionalities as I didn't build the dependencies. Any ideas? Missing_Menu

lierdakil commented 5 years ago

Hi. ide-haskell and friends depend on language-haskell specifically being used as Haskell grammar. Using any other grammar package is not supported (although possible with some hacks if you really want to). For the sake of not wasting resources when not needed, the packages don't activate until language-haskell grammar is used by an editor.

The highlighting I see on the screenshot doesn't really look like what I would expect from language-haskell, so double-check what grammar package you're using. That said, take it with a grain of salt, it's entirely possible that a syntax colour theme I'm not used to is throwing me off.

Also, you may need to restart Atom and/or reopen Haskell source files if you've just installed the packages (Atom can be a wee bit slow on the pick-up).