• qwop@programming.dev
    link
    fedilink
    English
    arrow-up
    9
    ·
    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
      cake
      link
      fedilink
      English
      arrow-up
      5
      ·
      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

      • 𝒍𝒆𝒎𝒂𝒏𝒏@lemmy.one
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        I love that look, ugh. The inline errors are much more visually appealing vs the usual squiggly underline

        I might need to look at vscodium since I’m not too keen on having more microsoft telemetry on my desktop. Been using Atom for personal projects thus far.