Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intellij spellcheck issue #697

Open
nerodono opened this issue Feb 23, 2023 · 0 comments
Open

Intellij spellcheck issue #697

nerodono opened this issue Feb 23, 2023 · 0 comments

Comments

@nerodono
Copy link

The problem

I see that it is common thing among the Haskell developers to suffix some intermediate computations with the single quote or to not shadow existing bindings, for example:

-- Intermediate computations
let stack = createStack
    stack' = pushToTop stack 10
in
    print stack'
-- To not shadow existing bindings
isKeyword :: Keyword -> Token -> Bool
isKeyword keyword token =
    case token of
       Keyword keyword' -> keyword == keyword'
       _ -> False

However currently almost every word with the single quote suffix would be considered as a spelling typo: https://imgur.com/a/iol2Bsk

Solution

Change behaviour of spellchecker in the Haskell code, so it will not consider trailing single quotes as typo for the whole word. Is it possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant