I no longer get suggested code in Visual Studio from Copilot

David Thielen 3,211 Reputation points
2024-07-03T18:14:10.12+00:00

Hi all;

After upgrading Visual Studio, I had to remove the two Copilot extensions as it said they were not compatible with the latest version. And there are no Copilot extensions available.

I do have the Copilot chat window and it works fine.

But I no longer get Copilot code suggestions when editing in Visual Studio.

How do I get that back?

thanks - dave

Microsoft Copilot | Other
Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,441 Reputation points Microsoft External Staff
    2024-07-04T02:51:02.86+00:00

    Hi @David Thielen ,

    For VS 17.10 or higher, GitHub Copilot(Chat and Completions) is built-in.

    You can open VS Installer => Modify => Individual components and make sure that the "GitHub Copilot" component has been installed.

    If it has been installed, please try to reinstall it(uncheck the option > Modify > check it again > Modify).

    Best Regards,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.