Maybe it is

  • starman@programming.dev
    link
    fedilink
    English
    arrow-up
    13
    ·
    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.

    • conditional_soup@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      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.

      • Kwartel@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        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

      • starman@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        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