Elm VS Code disable false error squiggles?

I really identify with @madasebrof’s experience, so I wonder if there are defaults that would work for a broader range of people.

For example:

  • Suppress red squiggles for a declaration if the cursor is present. (Maybe only triggering full compilation when transitioning between declarations, so maybe this could save some CPU and battery too!)
  • Suppress specific red squiggles for a declaration if the cursor is present. Maybe parser and canonicalization errors are suppressed, but show type errors. Or maybe even more fine-grained categorization would be ideal.
  • Maybe have a “distance from cursor” trigger? Maybe canonicalization errors show up, but only if they are on a different line than the cursor, or N tokens before the cursor. I can imagine this “distance from cursor” design would want slightly different settings for parse, canonicalization, and types.

@opvasger, as the red squiggle ambassador in the thread, would any of these approaches give you the kind of feedback you like?

4 Likes