I no longer get suggested code in Visual Studio from Copilot

David Thielen 2,796 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

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,885 questions
Microsoft Copilot
Microsoft Copilot
Microsoft terminology for a universal copilot interface.
197 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 29,446 Reputation points Microsoft Vendor
    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.