Reputation: 61
My GitHub Copilot got messed up: it doesn't work and I cannot update it or uninstall it because I get an error.
When I type even one character in the IDEe the logo becomes red:
If I dare to try uninstalling it or update it I get this error:
I would appreciate an advice on how to make it work again. It is so darn convenient.
Upvotes: 5
Views: 15558
Reputation: 3335
Copilot still doesn't update correctly in 2024. A safe way to update it is to:
Appearance & Behavior
> System Settings
> Reopen projects on startup
is disabledNote that this will not work if you just close all projects since the copilot agent doesn't quit. You need to quit phpstorm and start it again.
Also I don't know if it'll work with Reopen projects on startup
is enabled, but you close all projects and restart php storm. you can try.
Upvotes: 1
Reputation: 1
Go to the location folder mentioned. "C:\Users\MyUser\AppData\Roaming\JetBrains\IdeaIC2023.2\plugins"
Before deleting make sure IntelliJ is not opened. I tried deleting the copilot folder while the IntelliJ window was opened, so it was giving me error saying "This application is used by Node.js JavaScript Runtime"
Once you make sure no IntelliJ window is open, delete the folder.
After that restart the IDE and install the plugin again.
Upvotes: 0
Reputation: 61
Sorry, though I already wrote the solution, in the end what I have done is
delete it directly from the location mentioned in the error
I was able to delete it after I understood that copilot-agent-win.exe
process does not stop automatically and i stopped it via the task manager.
Then I downloaded copilot again, and all is well now.
Upvotes: 0
Reputation: 31
The copilot-agent-win.exe process does not stop automatically. Stop that process manually in Task Manager while the IDE is running. Then uninstall or update the GitHub Copilot. Restart the IDE and you should be able to use Copilot again.
Upvotes: 3