• treechicken@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    7 months ago

    VSCode with Go language support: removes unused variable on save “Fixed that compilation bug for ya, boss”

    • kevincox@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      7 months ago

      Like actually deletes them from the working copy? Or just removes them in the code sent to the compiler but they still appear in the editor?

      • FizzyOrange
        link
        fedilink
        arrow-up
        17
        ·
        7 months ago

        Yeah IIRC it deletes them, which is as mad as you would expect. Maybe they’ve fixed that since I used it last which was some years ago.