llms.txt: machine-readable documentation index. Markdown version of this page is also available.

Go by GoLand Help

Install in Visual Studio Code

The Go by GoLand extension helps you work with Go code in Visual Studio Code, bringing code insight features from JetBrains GoLand.

Before you start

  1. Make sure your editor is based on VS Code 1.105.1 or later.

  2. Install Go. Go by GoLand detects the Go SDK from your PATH or standard installation directories. To select an SDK explicitly, set go.goroot. For more details, refer to Go SDK.

  3. Disable the Go extension by the Go team in the workspaces where you use Go by GoLand. If both extensions serve the same file, the editor shows duplicate completion items, diagnostics, and navigation results.

  4. Log in to Visual Studio Code.

Before you start

  1. Make sure your editor is based on VS Code 1.105.1 or later.

  2. Install Go. Go by GoLand detects the Go SDK from your PATH or standard installation directories. To select an SDK explicitly, set go.goroot. For more details, refer to Go SDK.

  3. Disable the Go extension by the Go team in the workspaces where you use Go by GoLand. If both extensions serve the same file, the editor shows duplicate completion items, diagnostics, and navigation results.

Install from the user interface

You can install the extension from the Visual Studio Code Marketplace.

  1. Open the Extensions view (Ctrl+Shift+X).

  2. Search for Go by GoLand.

  3. Click Install.

Install using the Quick Open menu

  1. Open the Quick Open menu (Ctrl+E).

  2. Enter the following command and press Enter:

    ext install JetBrains.goland-server

After installation

On the first start, Go by GoLand prepares the language server before opening a setup page in an editor tab.

Complete the initial setup

  1. Select your region.

  2. Accept the End User License Agreement (EULA).

  3. Choose a data sharing option.

The language server starts after you complete all three steps. If you close the tab without accepting the agreement, it opens again the next time you open a project.

For steps to change your region or data sharing option later, refer to Change region and data sharing settings.

First start

Go by GoLand starts when you open a Go source file, go.mod, or go.work. The language server comes with its own Java runtime, so you do not need to install Java separately. If the required server version is unavailable locally, Go by GoLand downloads it before opening the setup page. This download requires an internet connection.

After the language server starts, Go by GoLand finds the Go modules in the workspace, imports them, and creates indexes for the module sources, their dependencies, and the Go SDK. Depending on the project size and available system resources, initial indexing may take longer. Code insight features may be limited until indexing is complete.

Open a workspace

  1. Press Ctrl+Shift+P to open the Command Palette, and run File: Open Folder....

  2. Navigate to the folder with your Go project and select Open.

  3. Open any Go file. Hover over the Go by GoLand item in the Status Bar to check the language server status.

Work in WSL, over SSH, or in a Dev Container

For setup instructions, refer to the VS Code documentation for WSL, SSH, and Dev Containers.

When the extension runs in a remote extension host, its language server runs in the same environment, not on your local machine.

Prepare the remote environment

  1. When you open a folder in WSL, over SSH, or in a Dev Container, install Go by GoLand in that remote environment.

  2. Install Go in the remote environment. To select an SDK there, use go.goroot with a path on the remote machine.

  3. Download the module dependencies in the remote environment, for example, with go mod download.

  4. To debug, install Delve in the remote environment.

In WSL, Go by GoLand starts the language server with the -Djava.net.preferIPv4Stack=true JVM option.

Use IPv6 in WSL

17 November 2026