Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. GitHub copilot sign in button is greyed out.

GitHub copilot sign in button is greyed out.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
creator
5 Posts 3 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    Omar Hatem
    wrote on last edited by
    #1

    After installing the github copilot plugin and enabling it, installing Nodejs, neovim plugin as shown in the image, signing in to github is greyed out, so I can't use copilot.

    I am on ubuntu 20.04 lts, using qt creator 12.04
    71ee6a50-d98c-4383-ac3d-0d4e3990b0ae-image.png

    1 Reply Last reply
    0
    • mzimmersM Offline
      mzimmersM Offline
      mzimmers
      wrote on last edited by mzimmers
      #2

      I'm having the same problem on Windows 11. Also, I don't seem to have a node.js file, nor an agent.js. Can anyone advise on this?

      Thanks...
      Screenshot 2024-07-05 085342.png

      1 Reply Last reply
      0
      • cristian-adamC Offline
        cristian-adamC Offline
        cristian-adam
        wrote on last edited by
        #3

        At https://www.reddit.com/r/QtFramework/comments/1ds4hcd/couldnt_setup_github_copilot/ we have an answer:

        The neovim plugin renamed "agent.js" to "language-server.js", so you just have to choose that instead of agent.js. The Qt Creator 14.0 (beta at the moment) has that fixed already, but for older versions you need to choose the right file yourself.

        You also don't need to setup anything in neovim, you just need the files. Once you entered the correct information inside Qt Creator you can authenticate there as well.

        mzimmersM 1 Reply Last reply
        1
        • cristian-adamC cristian-adam

          At https://www.reddit.com/r/QtFramework/comments/1ds4hcd/couldnt_setup_github_copilot/ we have an answer:

          The neovim plugin renamed "agent.js" to "language-server.js", so you just have to choose that instead of agent.js. The Qt Creator 14.0 (beta at the moment) has that fixed already, but for older versions you need to choose the right file yourself.

          You also don't need to setup anything in neovim, you just need the files. Once you entered the correct information inside Qt Creator you can authenticate there as well.

          mzimmersM Offline
          mzimmersM Offline
          mzimmers
          wrote on last edited by
          #4

          @cristian-adam thanks; that helped a lot.

          In case anyone else is as clueless as I was, the details of installation are here.

          Once you do this, if your installation was similar to mine, your language-server.js file will be located somewhere like this:

          C:\Users\michael.zimmers\AppData\Local\nvim\pack\github\start\copilot.vim\dist\language-server.js
          

          Once you supply the paths to Node.js and language-server.js,
          the Creator Preferences --> Copilot will give you an 8-digit code that you'll be prompted to enter. Copilot is then enabled.

          1 Reply Last reply
          2
          • cristian-adamC Offline
            cristian-adamC Offline
            cristian-adam
            wrote on last edited by
            #5

            Don't forget to mark the thread as solved.

            1 Reply Last reply
            0
            • P Panda Pilot referenced this topic on

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved