• stratoscaster@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    This would bite me in the ass because I often ignore these kinds of warnings in VSCode (SFDX for VSC is kinda crap, warns you about nonissues, and often doesn’t correctly identify the problem).

    • qwop@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Confusable characters get a little yellow box which is different from the squiggly underlines most linters and stuff use which at least makes it a bit more recogniseable.

      Personally I can’t stand having underlines all over my code, so I’ll usually just “fix” the non-issue if possible, or otherwise just disable whatever the warning is entirely.

      • HarryEffingPotter@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 year ago

        Ahh the solution is simple, in VS Code add these lines to your general config

            "workbench.colorCustomizations": {
                "editorError.foreground": "#00000000",
                "editorWarning.foreground": "#00000000",
                "editorInfo.foreground": "#00000000", 
            },
        

        Then get the error lens extension, it’s so much more pleasant. Visual example