Search code examples
githubgithub-copilot

GitHub Copilot Commands not working and showing error


I have installed GitHub Copilot just for the sake of testing. However, none of the commands work.

For example if I try CTRL + Enter I get this error message:

command 'github.copilot.generate' not found

I am trying it with JS file.

I have latest Visual Studio Code and Copilot installed.


Solution

    1. Click on the bell button on bottom right-corner of the Visual Studio Code Editor
    2. Press 'Agree' button
    3. Thats it!

    enter image description here