GoLand 2021.1 Help

Inlay Hints

Inlay hints are special markers that appear in the editor and provide you with additional information about your code, like the names of the parameters that a called method expects. Other types of hints inform you about annotations, method parameters, usages, and so on (depending on the language).

In inlay hints settings you can configure which types of information you want to get in hints.

Change inlay hints appearance

  1. In the Settings/Preferences dialog Ctrl+Alt+S, go to Editor | Color Scheme | Language Defaults, then select Inline hints.

  2. Select the inlay hint type and state, and configure the font, color, and effects as required.

SQL

Controls whether column names should be displayed in the following blocks:

  • In INSERT values: show names of columns in INSERT statements.

    In INSERT values
  • In SELECT expressions: show names of columns in SELECT statements that have a context. For example, SELECT statements inside CREATE VIEW and INSERT.

    db_in_select_expressions
  • For * references: show names of columns for asterisk (*) references in SELECT statements that have a context. For example, SELECT statements inside CREATE VIEW and INSERT.

    For asterisk references

Go

Controls whether parameters should be displayed in the following blocks:

  • Show unnamed fields in structure values: display names of unnamed fields.

    Show unnamed fields in structure values
  • Show return parameters: display names for return parameters.

    Show return parameters
Last modified: 21 April 2021