rikvdkleij / intellij-haskell

IntelliJ plugin for Haskell
https://rikvdkleij.github.io/intellij-haskell/
Apache License 2.0
1.31k stars 94 forks source link

`qualified` and `as` in imports are a different color from the `import` keyword #573

Closed drathier closed 4 years ago

drathier commented 4 years ago
Skärmklipp 2020-06-08 13 18 22

I would've expected import, qualified and as to all be formatted as keywords here :)

rikvdkleij commented 4 years ago

Thanks for reporting!

Yep, in scope of an import they are keywords.

drathier commented 4 years ago

Here's a full list: https://wiki.haskell.org/Keywords

rikvdkleij commented 4 years ago

Yes, i know the keywords 😄 I mean, you can create an identifier which is named qualified which is not a keyword. So I can not just define this keyword, depends on context but I will fix it.

drathier commented 4 years ago

Just trying to be helpful ^^,

rikvdkleij commented 4 years ago

@drathier I can not reproduce this issue. Which plugin version are you using?

drathier commented 4 years ago

1.0.0-beta52 on quite an old intellij: 2019.2

rikvdkleij commented 4 years ago

@drathier please update both. Especially plugin which needs at least 2019.3.2

rikvdkleij commented 4 years ago

Please reopen if still an issue.