GitHub copilot sign in button is greyed out.
-
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
-
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.
-
@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. -
Don't forget to mark the thread as solved.