Reputation: 23
I just installed the GitHub Copilot extension in Visual Studio, and I'm following the setup on GitHub Docs. I got to the point where they tell me to put in some code and I should be getting auto-suggestions, but nothing appears. Anyone know a fix for this?
I enabled GitHub Copilot globally and for C#, but still no auto-suggestions.
Upvotes: 2
Views: 4768
Reputation: 2573
I fixed inline suggestions after a comment by enabling Tools -> Intellicode -> Advanced -> Show Inline Completions on New Lines.
Upvotes: 1
Reputation: 887
I was having this issue. Copilot was definitely installed, but I wasn't getting suggestions. In the Output pane you can review Github Copilot logging. It indicated an conflict with my Intellicode settings. I'd had Intellicode off, and you need that to be on with line completion to show Copilot suggestions. Review your Tools > Intellicode settings.
Upvotes: 2
Reputation: 3670
There are two ways that I know of.
One use: //Some thing you want to do
, and then use Ctrl+Alt+\
.
Another: //q:Some thing you want to know
, and then use Ctrl+Alt+\
or Ctrl+Alt+Enter
.
Upvotes: 0