Maybe it is

  • starman@programming.dev
    link
    fedilink
    English
    arrow-up
    25
    ·
    1 year ago

    It is designed for other purposes than GPT models. Next time try to use copilot as autocompletion, not to generate new code. It’s excellent in that.

    • FMT99@lemmy.world
      link
      fedilink
      arrow-up
      11
      arrow-down
      1
      ·
      1 year ago

      That’s how I thought it was supposed to be used. It’s “copilot” not “autopilot”. I don’t need nor want it to write whole functions for me.

      • 𝒍𝒆𝒎𝒂𝒏𝒏@lemmy.one
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Company ran a trial for it, and it worked really well for generating boilerplate code following our existing system design. Sometimes it makes mistakes, but during the trial it was a rare occurence

        The company is giving it to us all for free next year, hope it doesn’t negatively affect hiring though…

        • MajorHavoc@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          The company is giving it to us all for free next year, hope it doesn’t negatively affect hiring though…

          Should be fine. No way they’ll assume that the new technology is magic and over promise, under budget, and then start a company death spiral, before cashing out their stock options and doing the same somewhere else. I’m sure glad we don’t see that all the time in tech. /s

    • conditional_soup
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      That’s how I was using it; I ended up spending as much time as I was saving going around and cleaning up after it and/or second guessing myself. Basically, because it only operates in the context of the file you’re working in, it will suggest garbage half the time if you have to work with resources from other files.

      • starman@programming.dev
        link
        fedilink
        English
        arrow-up
        7
        ·
        edit-2
        1 year ago

        From the docs:

        GitHub Copilot analyzes the context in the file you are editing, as well as related files

        Tho, I don’t know if it allways been that way, maybe they added bigger context later

      • Kwartel@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        If you have those other files open, it also picks those up. And lately it seems to follow imports too, I feel like