GoLand 2018.2 Help

Language Injections

File | Settings | Editor | Language Injections for Windows and Linux
GoLand | Preferences | Editor | Language Injections for macOS
Ctrl+Alt+S icons general settings svg

For the Language Injections page to be available, the IntelliLang plugin must be enabled. (This plugin is bundled with the IDE and enabled by default.)

Use this page to manage the list of available language injections and configure the language injection feature for text, attributes, and parameters.

Injection entries

You can sort the information by any of the columns by clicking the cells in the header row. The current sorting status is shown by the corresponding sorting marker: sortMarkerAsc for the ascending order or sortMarkerDesc for the descending order.




Use the checkboxes to enable or disable the corresponding injections.

You can also enable or disable a number of injections at once. To do that, select the required injections in the list and click Enable Selected Injections iconSelectAll or Disable Selected Injections iconUnSelectAllRemoteRunDialog on the toolbar.


The language in which the injection is available, the injection name and, in parentheses, the package that contains the corresponding implementation.


The injected language.


One of the following:
  • Built-in. This is a category for pre-defined injections. In terms of the scope, those are the IDE-level injections.

  • IDE. User-defined injections that are available in all of your projects.

  • Project. User-defined injections that are available only in the current project.

You can move the user-defined injections between the IDE and the project levels by using icon injection move to project make global on the toolbar.




icons general add svg

Create a new injection entry. Select the injection category and then specify the injection settings in the dialog that opens.

icons general remove svg

Remove the selected entries from the list.

icons actions edit svg

Edit the settings for the selected injection.

IMPORTANT: Don't edit the settings for built-in injections.

icons actions copy svg

Create a copy of the selected injection entry. Then edit the settings for that copy as necessary.


Enable all the injections currently selected in the list.


Disable all the injections currently selected in the list.

icon injection move to project make global

Move the selected injections between the IDE and the project levels. See also, Scope.


Import injection entries from another GoLand installation:
  1. In the Select Path dialog, select the IntelliLang.xml file to import the info from.

    As a result, a dialog opens that shows the entries contained in the selected configuration file.

  2. Remove the entries that you don't want to import using the Delete button. (This doesn't affect the contents of the source configuration file.)

icons toolbarDecorator export svg

Export the selected injection entries to a file. In the Export Selected Injections to File dialog that opens:
  • To add the entries to an existing file, select the destination file.

  • To save the entries in a new file, specify the file name and choose the file type from the list.

Last modified: 12 October 2018