{"id":15063358,"url":"https://github.com/goplus/vscode-xgo","last_synced_at":"2025-10-05T00:30:35.253Z","repository":{"id":44121578,"uuid":"441896510","full_name":"goplus/vscode-gop","owner":"goplus","description":"Go/Go+ extension for Visual Studio Code","archived":false,"fork":true,"pushed_at":"2024-05-10T15:14:27.000Z","size":133768,"stargazers_count":8,"open_issues_count":10,"forks_count":11,"subscribers_count":1,"default_branch":"goplus","last_synced_at":"2024-12-17T00:18:59.559Z","etag":null,"topics":["debugger","golang","gop","goplus","visual-studio-code","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=goplus.gop","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"golang/vscode-go","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goplus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"docs/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null}},"created_at":"2021-12-26T13:23:57.000Z","updated_at":"2024-06-29T12:26:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/goplus/vscode-gop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goplus%2Fvscode-gop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goplus%2Fvscode-gop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goplus%2Fvscode-gop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goplus%2Fvscode-gop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goplus","download_url":"https://codeload.github.com/goplus/vscode-gop/tar.gz/refs/heads/goplus","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235330434,"owners_count":18972830,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debugger","golang","gop","goplus","visual-studio-code","vscode","vscode-extension"],"created_at":"2024-09-24T23:55:35.823Z","updated_at":"2025-10-05T00:30:35.244Z","avatar_url":"https://github.com/goplus.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go/XGo for Visual Studio Code\n\n[![GitHub release](https://img.shields.io/github/v/tag/goplus/vscode-gop.svg?label=release)](https://github.com/goplus/vscode-gop/releases)\n[![Language](https://img.shields.io/badge/language-XGo-blue.svg)](https://github.com/goplus/gop)\n\n\u003c!--TODO: We should add a badge for the build status or link to the build dashboard.--\u003e\n\n[The VS Code Go/XGo extension](https://marketplace.visualstudio.com/items?itemName=goplus.gop)\nprovides rich language support for the\n[Go programming language](https://go.dev/) and the [XGo programming language](https://xgo.dev/).\n\nPlease [file a new issue](https://github.com/goplus/vscode-gop/issues/new/choose) if you encounter any problems.\n\n\n## Quick Start\n\nWelcome! 👋🏻\u003cbr/\u003e\nWhether you are new to Go/XGo or an experienced Go/XGo developer, we hope this\nextension fits your needs and enhances your development experience.\n\n1.  Install [Go](https://go.dev) 1.18 or newer if you haven't already.\n\n1.  Install [XGo](https://xgo.dev) 1.1.13 or newer if you haven't already.\n\n1.  Install the [VS Code Go/XGo extension].\n\n1.  Open any directory or workspace containing Go/XGo code to automatically activate the\n    extension. The [Go/XGo status bar](https://github.com/goplus/vscode-gop/wiki/ui) \n    appears in the bottom left corner of the window and displays your Go/XGo version.\n\n1.  The extension depends on `go`, `gop`, `goxls`, `dlv` and other optional tools. If\n    any of the dependencies are missing, the ⚠️ `Analysis Tools Missing` warning\n    is displayed. Click on the warning to download dependencies.\n\n    See the\n    [tools documentation](https://github.com/goplus/vscode-gop/wiki/tools) for a\n    complete list of tools the extension depends on.\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"docs/images/installtools.gif\" width=75%\u003e\n\u003cbr/\u003e\n\u003cem\u003e(Install Missing Tools)\u003c/em\u003e\n\u003c/p\u003e\n\nYou are ready to Go :-) \u0026nbsp;\u0026nbsp; 🎉🎉🎉\n\n## What's next\n\n* Explore more [features][full feature breakdown] of the VS Code Go/XGo extension.\n* View the\n  [settings documentation](https://github.com/goplus/vscode-gop/wiki/settings)\n\tand [advanced topics](https://github.com/golang/vscode-go/wiki/advanced) to\n\tcustomize the extension.\n* View the [tools documentation](https://github.com/goplus/vscode-gop/wiki/tools)\n  for a complete list of tools the VS Code Go extension depends on.\n* Solve issues with the\n  [general troubleshooting](https://github.com/goplus/vscode-gop/wiki/troubleshooting)\n\tand [debugging troubleshooting](https://github.com/goplus/vscode-gop/wiki/debugging#troubleshooting)\n\tguides.\n* [file an issue](https://github.com/goplus/vscode-gop/issues/new/choose) for\n  problems with the extension.\n* Start a [GitHub discussion](https://github.com/goplus/vscode-gop/discussions)\n  or get help on [Stack Overflow].\n* Explore XGo language resources on [XGo Quick Start](https://github.com/goplus/gop/blob/main/doc/docs.md) and\n  [XGo tutorial](https://tutorial.xgo.dev/).\n\nIf you are new to Go/XGo, [this article](https://github.com/goplus/gop/blob/main/doc/docs.md) provides\nthe overview on XGo code organization and basic `gop` commands. Watch [\"Getting\nstarted with VS Code Go/XGo\"] for an explanation of how to build your first Go/XGo\napplication using VS Code Go/XGo.\n\n## Feature highlights\n\n* [IntelliSense] - Results appear for symbols as you type.\n* [Code navigation] - Jump to or peek at a symbol's declaration.\n* [Code editing] - Support for saved snippets, formatting and code organization,\n  and automatic organization of imports.\n* [Diagnostics] -  Build, vet, and lint errors shown as you type or on save.\n* Enhanced support for [testing] and [debugging]\n\nSee the [full feature breakdown] for more details.\n\n\u003cp align=center\u003e\n\u003cimg src=\"docs/images/completion-signature-help.gif\" width=75%\u003e\n\u003cbr/\u003e\n\u003cem\u003e(Code completion and Signature Help)\u003c/em\u003e\n\u003c/p\u003e\n\nIn addition to integrated editing features, the extension provides several\ncommands for working with Go files. You can access any of these by opening the\nCommand Palette (`Ctrl+Shift+P` on Linux/Windows and `Cmd+Shift+P` on Mac), and\nthen typing in the command name. See the\n[full list of commands](https://github.com/goplus/vscode-gop/wiki/commands#detailed-list) provided by this\nextension.\n\n\u003cp align=center\u003e\n\u003cimg src=\"docs/images/toggletestfile.gif\" width=75%\u003e\n\u003cbr/\u003e\u003cem\u003e(Toggle Test File)\u003c/em\u003e\u003c/p\u003e\n\nWe recommend enabling\n[semantic highlighting](https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide)\nby turning on [Goxls' `ui.semanticTokens` setting](https://github.com/goplus/vscode-gop/wiki/settings#uisemantictokens).\n    ```\n    \"goxls\": { \"ui.semanticTokens\": true }\n    ```\n\n## Setting up your workspace\n\nThe VS Code Go/XGo extension supports both `GOPATH` and Go/XGo modules modes.\n\n[Go/XGo modules](https://golang.org/ref/mod) are used to manage dependencies in\nrecent versions of Go/XGo. Modules replace the `GOPATH`-based approach to specifying\nwhich source files are used in a given build, and they are the default build\nmode in go1.16+. We highly recommend Go development in module mode. If you are\nworking on existing projects, please consider migrating to modules.\n\nUnlike the traditional `GOPATH` mode, module mode does not require the workspace\nto be located under `GOPATH` nor to use a specific structure. A module is\ndefined by a directory tree of Go/XGo source files with a `go.mod` or `gop.mod` file\nin the tree's root directory.\n\nYour project may involve one or more modules. If you are working with multiple\nmodules or uncommon project layouts, you will need to configure your workspace\nby using [Workspace Folders]. See the\n[Supported workspace layouts documentation] for more information.\n\n## Contributing\n\nWe welcome your contributions and thank you for working to improve the Go/XGo\ndevelopment experience in VS Code. If you would like to help work on the VS Code\nGo/XGo extension, see our\n[contribution guide](https://github.com/goplus/vscode-gop/wiki/contributing) to\nlearn how to build and run the VS Code Go extension locally and contribute to\nthe project.\n\n## License\n\n[MIT](LICENSE)\n\n[Stack Overflow]: https://stackoverflow.com/questions/tagged/go+visual-studio-code\n[Managing extensions in VS Code]: https://code.visualstudio.com/docs/editor/extension-gallery\n[VS Code Go/XGo extension]: https://marketplace.visualstudio.com/items?itemName=goplus.gop\n[IntelliSense]: https://github.com/goplus/vscode-gop/wiki/features#intellisense\n[Code navigation]: https://github.com/goplus/vscode-gop/wiki/features#code-navigation\n[Code editing]: https://github.com/goplus/vscode-gop/wiki/features#code-editing\n[diagnostics]: https://github.com/goplus/vscode-gop/wiki/features#diagnostics\n[testing]: https://github.com/goplus/vscode-gop/wiki/features#run-and-test-in-the-editor\n[debugging]: https://github.com/goplus/vscode-gop/wiki/debugging#features\n[full feature breakdown]: https://github.com/goplus/vscode-gop/wiki/features\n[workspace documentation]: https://github.com/goplus/tools/blob/master/gopls/doc/workspace.md\n[Supported workspace layouts documentation]: https://github.com/goplus/tools/blob/master/gopls/doc/workspace.md\n[Workspace Folders]: https://code.visualstudio.com/docs/editor/multi-root-workspaces\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoplus%2Fvscode-xgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoplus%2Fvscode-xgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoplus%2Fvscode-xgo/lists"}