Share via

Visual Studio goLang extension not found

Marty's Laptop 0 Reputation points
2024-10-03T23:54:08.44+00:00

I have installed VS 2022 and the Go Language download. All information says to add golang extension to VS. when I try, it is not found. How can I use go with VS?

Developer technologies | Visual Studio | Extensions
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 83,581 Reputation points Volunteer Moderator
    2026-03-05T20:32:27.66+00:00

    There is limited support of golang with visual studio. Probably because windows is not the most popular platform for go development. I only found one go extension with only two installs (not sure it supports debugging).

    https://marketplace.visualstudio.com/items?itemName=Ivan.VsGo&ssr=false#overview

    as suggested you will have better luck with the cross platform vs code which has an extension supplied by google. It’s probably the most common ide in tutorials.

    if your are a jetbrains fan they have a Goland product you can buy which give a more ide experience than vscode.

    0 comments No comments

  2. Tianyu Sun-MSFT 34,811 Reputation points Microsoft External Staff
    2024-10-04T07:44:25.72+00:00

    Hello @Marty's Laptop,

    Welcome to Microsoft Q&A forum.

    Can you confirm that if you downloaded this Go extension? If so, this extension is for Visual Studio Code(It's different from Visual Studio IDE), you need to download Visual Studio Code to install and use it.

    Currently, I don’t find related Go Language extensions which support Visual Studio IDE, for example Visual Studio 2022. You can double check here: Visual Studio Marketplace.

    More details, see this document: Install and configure Visual Studio Code for Go development.

    Have a nice day.

    Sincerely,

    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.


Your answer

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