elm-language-server icon indicating copy to clipboard operation
elm-language-server copied to clipboard

Disabling the MissingTypeAnnotation linting rule disabled the "Add inferred annotation" code action.

Open anagrius opened this issue 2 years ago • 1 comments

There is an unfortunate interaction between the linting rule "MissingTypeAnnotation" and "Add inferred annotation" code action.

If you disable the linting rule, you cannot trigger the code action for top-level functions missing a type annotation.

I would be happy to make a PR fixing this. If we agree that there is no reason to disable the code action just because the linter does not report it as an error.

anagrius avatar Nov 06 '22 10:11 anagrius

Yeah, if that can be sanely done, without adding too much maintenance burden

razzeee avatar Nov 06 '22 17:11 razzeee