GoLand 2024.1 Help

Plugins

Plugins extend the core functionality of GoLand. For example, install plugins to get the following features:

  • Integration with version control systems, issue trackers, build management servers, and other tools.

  • Coding assistance support for various languages and frameworks.

  • Shortcut hints, live previews, File Watchers, and so on.

  • Coding exercises that can help you to learn a new programming language.

Open plugin settings

  • Press Ctrl+Alt+S to open settings and then select Plugins.

Use the Marketplace tab to browse and install plugins from JetBrains Marketplace or from a custom plugin repository.

Use the Installed tab to browse bundled and installed plugins, enable, disable, update, or remove them. Disabling unnecessary plugins can increase performance.

The Plugins settings dialog

Most plugins can be used with any JetBrains product. Some are limited only to commercial products, others require a separate license.

If a plugin depends on some other plugin, you can find a list of the dependencies in the Additional Info tab. If your project depends on certain plugins, add them to the list of required plugins.

If existing plugins do not provide some functionality that you need, you can create your own plugin for GoLand. For more information, refer to Develop your own plugins.

By default, GoLand includes several bundled plugins. You can disable bundled plugins, but they cannot be removed. You can install additional plugins from the plugin repository or from a local archive file (ZIP or JAR).

Install plugin from Marketplace

  1. Press Ctrl+Alt+S to open settings and then select Plugins.

  2. Click the Marketplace tab and type the plugin name in the search field.

  3. To install the plugin, click Install and restart GoLand.

To install a specific version, go to the plugin page in JetBrains Marketplace, download and install it as described in Install plugin from disk. For example, you can do it if the most recent version of the plugin is broken.

Install plugin from disk

  1. Download the plugin archive (ZIP or JAR).

  2. Press Ctrl+Alt+S to open settings and then select Plugins.

  3. On the Plugins page, click The Settings button and then click Install Plugin from Disk.

    Install Plugin from Disk
  4. Select the plugin archive file and click OK.

  5. Click OK to apply the changes and restart the IDE if prompted.

Install plugin from command line

  1. Quit the IDE on which you want to install the plugin.

  2. From JetBrains Marketplace page, find the page of the required plugin, select the Versions tab, and click any version to copy pluginId.

    Plugin ID

    pluginId is a short name of the plugin you want to install. For example, tanvd.grazi.

  3. Install the plugin:

    Navigate to the bin directory under your GoLand installation directory and run the following command:

    goland64.exe installPlugins <PluginID>

    For example:

    goland64.exe installPlugins tanvd.grazi

    Run the following command:

    open -na "GoLand.app" --args installPlugins <PluginID>

    For example:

    open -na "GoLand.app" --args installPlugins tanvd.grazi

    Navigate to the bin directory under your GoLand installation directory and run the following command:

    goland.sh installPlugins <PluginID>

    For example:

    goland.sh installPlugins tanvd.grazi

Remove plugin

  1. Press Ctrl+Alt+S to open settings and then select Plugins.

  2. Open the Installed tab and find the plugin that you want to remove.

  3. Expand the Disable list and select Uninstall.

    The Uninstall item for plugins

Disable plugin

You can disable a plugin without removing it if you do not need the corresponding functionality.

  1. Press Ctrl+Alt+S to open settings and then select Plugins.

  2. Open the Installed tab, find and select the plugin that you want to disable.

  3. On the plugin's description pane, click Disable.

    Disabling an installed plugin

    Alternatively, you can use the checkboxes in the list of plugins or the Disable all buttons for plugin categories.

You can disable or enable all manually installed plugins at once (non-bundled) in the menu under The Settings button.

Required plugins

A project may require plugins that provide support for certain technologies or frameworks. You can add such plugins to the list of required plugins for the current project, so that GoLand will verify that the plugins are installed and enabled. It will notify you if you forget about some plugin, or someone on your team is not aware about the dependency as they work on the project.

Add a required plugin for your current project

  1. Make sure the required plugin is installed.

  2. Press Ctrl+Alt+S to open settings and then select Build, Execution, Deployment | Required Plugins.

  3. On the Required Plugins page, click The Add icon and select the plugin. Optionally, specify the minimum and maximum version of the plugin.

The list of required plugins is stored in the .idea/externalDependencies.xml file of your project. When you open the project in GoLand, it will notify you if the required plugin is disabled, not installed, or requires an update.

Click the link in the notification message to quickly enable, install, or update the required plugin.

Suggested plugins

When you open a project, GoLand can suggest installing and enabling plugins based on libraries used in your project. Do not confuse suggested plugins with required plugins that you can manually add to a project so that your teammates also use it.

If you don't need a particular plugin, you can prevent GoLand from suggesting it. You can also use your notification settings to disable or enable notifications of all plugin suggestions and the way they are displayed.

Disable suggestions of a plugin

  • When a notification of a suggested plugin appears, click Don't suggest again.

Next time when you open a project, GoLand will not suggest this plugin.

Check a project for suggested plugins

You can check your project for suggested plugins except for plugins for which you have disabled suggestions.

  1. Press Ctrl+Shift+A and start typing Check Suggested Plugins.

  2. Select the Check Suggested Plugins action.

    Check suggested plugins
  3. If GoLand has a plugin applicable to your project, you'll see the notification message. Click the link in the notification message to install or enable the suggested plugin.

Alternatively, you can open the IDE settings (Ctrl+Alt+S) and go to Plugins | Marketplace: If there are plugins suggested for your project, they will be displayed on top of the plugin list, in the Suggested section.

Suggested plugins

Develop your own plugins

You can use any edition of GoLand to develop plugins. It provides an open API, a dedicated SDK, module, and run/debug configurations to help you.

The recommended workflow is to use Gradle. The old workflow using the internal GoLand build system is also supported. For more information, refer to the IntelliJ Platform SDK Developer Guide.

Custom plugin repositories

By default, GoLand is configured to use plugins from JetBrains Marketplace. This is a public repository where everyone can host their plugins. However, if you develop plugins for internal use only, you can set up a custom plugin repository for them.

For more information about setting up a custom plugin repository, see the IntelliJ Platform SDK documentation.

Once you set up your plugin repository, add it to GoLand:

Add custom repositories

  1. Press Ctrl+Alt+S to open settings and then select Plugins.

  2. On the Plugins page, click The Settings button and select Manage Plugin Repositories.

  3. In the Custom Plugin Repositories dialog, click The Add icon and specify your repository URL. It must point to the location of the XML file that describes your plugin, for example, updatePlugins.xml. The file can be on the same server as your custom plugins, or on a dedicated one.

    How to add a custom plugin repository
  4. Click OK in the Custom Plugin Repositories dialog to save the list of plugin repositories.

  5. Click OK in the Settings dialog to apply the changes.

When you search for plugins, GoLand will show you results both from default JetBrains Marketplace and any custom repositories that you specify. To browse only a certain custom plugin repository, type repository: followed by the URL of the repository in the search field on the Marketplace tab of the Plugins page. For example:

repository:http://plugins.example.com:8080/updatePlugins.xml myPlugin

Alternatively, you can add your custom plugin repositories using the idea.plugin.hosts property:

  1. Go to Help | Edit Custom Properties.

  2. Add the idea.plugin.hosts property to the platform properties file and specify the URL of the XML file that describes your plugin. For example:

    idea.plugin.hosts="http://plugins.example.com:8080/updatePlugins.xml"
  3. Restart GoLand.

You may want to replace default JetBrains Marketplace with your custom plugin repository. This can be helpful if you want only your custom repository plugins to be available from GoLand.

Replace the default plugin repository

  1. Go to Help | Edit Custom Properties.

  2. Add the idea.plugins.host property to the platform properties file and specify the URL of the application that can properly handle requests from GoLand, that is, act as the default plugin repository application instead of JetBrains Marketplace.

    In particular, it should handle the following requests:

  3. Restart GoLand.

If you replace the default plugin repository, the search field on the Marketplace tab of the Plugins dialog will browse only the plugins in the new default repository and any custom repositories that you add.

Productivity tips

Filter and sort search results

  • Type a forward slash / in the search string to see options for filtering and sorting search results. For example, you can add the following options to your search string to list only language-related plugins and sort them alphabetically by name:

    /tag:Languages /sortBy:name

    Or you can search for all outdated plugins among the installed ones by typing:

    /outdated

The following tables list JetBrains non-bundled plugins that you might want to install to extend current GoLand functionality. In those tables, plugins are joined according to their usage area: technologies, keymaps, and themes.

Name

Link

Description

Python Community Edition

Link

Adds support for Python. The feature set of the plugin corresponds to the PyCharm Community edition. To see the list of features that are available in the Community edition in comparison with Professional, check the following comparison matrix at jetbrains.com.

Python Community Edition

HashiCorp Terraform / HCL language support

Link

Adds support for HashiCorp Configuration Language (HCL), HashiCorp Interpolation Language (HIL), and Terraform configuration files (TF).

Hashicorp Terraform and Hcl Language Support

Kubernetes

Link

Adds support for Kubernetes. For more information, refer to Kubernetes.

Kubernetes

AWS CloudFormation

Link

Adds support for the Amazon AWS CloudFormation language.

AWS Cloudformation

Angular and AngularJS

Link

Adds support for Angular and AngularJS projects.

Angular And AngularJS

Node.js

Link

Adds support for Node.js projects.

Node JS

Name

Link

Description

IdeaVim

Link

Enables Vim emulation. The IdeaVim plugin supports different modes (normal, insert, visual), motion keys, registers, Vim regular expressions, configuration with the IDEAVIMRC file, macros, window commands, and other features.

IdeaVim

VSCode Keymap

Link

Adds the VSCode keymap to the list of available keymaps.

VSCode Keymap

Name

Link

Description

IntelliJ Light theme

Link

IntelliJ Light is a light theme for IntelliJ-based IDEs starting 2020.1. This plugin is a preview of this theme and can be used with versions 2019.1–2019.3.

IntelliJ Light theme
Last modified: 02 May 2024