• MyNameIsRichard@lemmy.ml
    link
    fedilink
    arrow-up
    78
    arrow-down
    2
    ·
    6 days ago

    Pretty much any ide will spot that. Maybe you can use it to teach your colleagues not to use a plain text editor.

    • tisktisk@piefed.social
      link
      fedilink
      English
      arrow-up
      24
      ·
      6 days ago

      I’m gonna need the vi guy to teach me how to get this functionality in nvim pls–don’t make me leave

    • saigot@lemmy.ca
      link
      fedilink
      arrow-up
      13
      ·
      edit-2
      6 days ago

      In VSCode (yeah yeah MS bad, I have to use it for work) it puts a yellow box around the charcater, which I don’t immediately recognize the meaning of and highlights the line as “identifier “blah;” is undefined”. It’s not like your gunna spend all day on it, but that could waste a couple minutes if the dev wasn’t paying close attention, which is “fun prank” territory.

      • Cethin@lemmy.zip
        link
        fedilink
        English
        arrow-up
        14
        ·
        6 days ago

        Can you choose to use VSCodium instead? It’s practically identical, but isn’t controlled by MS.

        • saigot@lemmy.ca
          link
          fedilink
          arrow-up
          8
          ·
          6 days ago

          The reason it’s de facto mandatory is due to some in house extensions, assuming they work with this I could, but I also don’t particularly care about my privacy on a work machine. But I will be checking this out for my personal stuff!

    • Soot [none/use name]@hexbear.net
      link
      fedilink
      English
      arrow-up
      7
      ·
      6 days ago

      I mean sure, but it’ll still likely leave 'em scratching their heads for a while before they go “I guess I just… replace the semicolon…?”