• MyNameIsRichard@lemmy.ml
    link
    fedilink
    arrow-up
    82
    arrow-down
    3
    ·
    3 天前

    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
      30
      ·
      3 天前

      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
      3 天前

      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
        15
        ·
        3 天前

        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
          ·
          3 天前

          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!

          • Cethin@lemmy.zip
            link
            fedilink
            English
            arrow-up
            4
            ·
            2 天前

            The extensions should work still. It even still integrates with the same extention marketplace. It’s the same software, just the open source part without the MS stuff —which honestly, I have and do use both and I don’t know what the difference is.

            It’s definitely worth checking out. If it doesn’t work for you then still nothing is lost except a small amount of time, but I’m willing to bet it does.

    • Soot [none/use name]@hexbear.net
      link
      fedilink
      English
      arrow-up
      8
      ·
      3 天前

      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…?”