• treechicken@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    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
      0
      ·
      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@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        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.