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