# Inlay Hints

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/go/2026.3/llms.txt).

> **TL;DR**
> `File | Settings | Editor | Inlay Hints` for Windows and Linux
>
>
>
> `GoLand | Settings | Editor | Inlay Hints` for macOS
>
>
>
> `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Comma` (VSCode), `⌘ Comma` (VSCode (macOS)) ![the Settings icon](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.settings.svg)

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

Procedure: Enable or disable inlay hints

* To disable a hint that is currently in front of you in the editor:

Right-click the hint and select whether you want to disable the specific type of hints or all hints in this category.

![Hide code author names](https://resources.jetbrains.com/help/img/idea/2026.3/go_hide_code_authors.png)

* To configure one or more specific groups of inlay hints:

Open the Settings dialog (`Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Comma` (VSCode), `⌘ Comma` (VSCode (macOS))), go to `Editor | Inlay Hints`, and use the checkboxes next to the hints to hide or show the corresponding category of inlay hints.

![Settings | Inlay Hints](https://resources.jetbrains.com/help/img/idea/2026.3/go_inlay_hints_settings.png)

* To disable inlay hints for a specific parameter names:

Open the Settings dialog (`Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Comma` (VSCode), `⌘ Comma` (VSCode (macOS))), go to `Editor | Inlay Hints`, and click Exclude list. In the dialog that opens, specify the list of symbols to exclude using fully qualified names or wildcard syntax.

![Exclude list for 'Go' in Settings | Inlay Hints](https://resources.jetbrains.com/help/img/idea/2026.3/go_inlay_hints_exclude_list.png)

* To enable or disable all inlay hints at once, use the Toggle Inlay Hints Globally action in the Search Everywhere dialog.

Press `Ctrl+Shift+A` (Windows), `⌘ ⇧ A` (macOS), `⌘ ⇧ A` (IntelliJ IDEA Classic (macOS)), `⌘ ⇧ P` (macOS System Shortcuts), `Ctrl+Shift+A` (XWin), `Ctrl+Shift+A` (GNOME), `Ctrl+Shift+A` (KDE), `Escape, X` (Emacs), `Ctrl+Shift+P` (Sublime Text), `⌘ ⇧ P` (Sublime Text (macOS)), `Ctrl+Shift+P` (VSCode), `F1` (VSCode (macOS)) and start typing `Toggle Inlay Hints Globally`. Use the switcher to enable or disable inlay hints in GoLand.

Additionally, you can assign a shortcut for this action.   Open the Settings dialog (`Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Comma` (VSCode), `⌘ Comma` (VSCode (macOS))) and go to the Keymap page. Type `Toggle Inlay Hints Globally` in the search field, then double-click the action to set a shortcut for it. For more information, refer to [Keyboard shortcuts](configuring-keyboard-and-mouse-shortcuts.html).

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

> **Note:**
> The list of available languages, contexts, and hint types depends on the [installed/enabled plugins](managing-plugins.html).

## Configure the appearance of inlay hints

Inlay hints take their color and style from the color scheme. Their size is based on the editor font: most hints are rendered one point smaller than the surrounding code and follow the editor zoom level. By default, GoLand uses the font configured for the IDE user interface.

Procedure: Change the color and style of inlay hints

1. In the Settings dialog (`Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Comma` (VSCode), `⌘ Comma` (VSCode (macOS))), 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.

Procedure: Use the editor font for inlay hints

1. In the Settings dialog (`Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Comma` (VSCode), `⌘ Comma` (VSCode (macOS))), go to `Editor | General | Appearance`.

2. Select the Use editor font for inlay hints option.

After enabling the option, GoLand uses the font configured in `Settings | Editor | Font` for inlay hints.

## Reference

### Code vision

* Rename: displays an inlay hint with a quick-fix that renames the selected code item. ![Go code element renamed](https://resources.jetbrains.com/help/img/idea/2026.3/go_code_element_renamed.png)

* Inheritors: displays a number of implementations for an interface and its method specifications. Click the `implementations` hint to navigate to usages. ![code vision inheritors](https://resources.jetbrains.com/help/img/idea/2026.3/go_code_vision_inheritors.png)

* Usages: displays a number of usages of the class or method in the project. Click the `usages` hint to navigate to usages. ![code vision usages](https://resources.jetbrains.com/help/img/idea/2026.3/go_code_vision_usages.png)

* Update dependencies: displays quick-fixes to update dependencies. For more information about various update options, refer to [Updating dependencies in go.mod](create-a-project-with-go-modules-integration.html#updating-dependencies-in-go-mod). ![code vision usages](https://resources.jetbrains.com/help/img/idea/2026.3/go_code_vision_update_dependencies.png)

* Implement interface: displays a quick-fix that allows you to implement an interface on the selected structure. ![codeLens.vcs.code.vision.name](https://resources.jetbrains.com/help/img/idea/2026.3/go_code_vision_implement_interface.png)

* Code author: code authors for a given element (for example, a type or a method). Click the name hint to open the Git blame functionality. Name of the author is displayed in the gutter. ![codeLens.vcs.code.vision.name](https://resources.jetbrains.com/help/img/idea/2026.3/go_code_lens_vcs_code_vision_name.png)

### Parameter names

#### Go

* Show unnamed fields in structure values: show names of anonymous fields. ![Show unnamed fields in structure values](https://resources.jetbrains.com/help/img/idea/2026.3/go_show_unnamed_fields_in_structure_values.png)

* Show return parameters: show parameter names in `return` statements. ![Show return parameters](https://resources.jetbrains.com/help/img/idea/2026.3/go_show_return_parameters.png)

#### Javascript

* Non-literal arguments: show both literal and non-literal arguments, call expressions, objects, and array initializers. ![js.param.hints.show.names.for.all.args](https://resources.jetbrains.com/help/img/idea/2026.3/go_js_param_hints_show_names_for_all_args.png)

* Tagged template arguments: show tagged template arguments. This setting takes effect only over non-literal arguments and is only available when the Non-Literal arguments option is enabled. For more information about arguments in tagged templates, refer to [Tagged templates at mozilla.org](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#tagged_templates). ![js.param.hints.show.names.for.tagged](https://resources.jetbrains.com/help/img/idea/2026.3/go_js_param_hints_show_names_for_tagged.png)

* Pipeline operators: show pipeline operators. For more information about pipeline operators, refer to [Pipe Operator (|&gt;) for JavaScript at github.com/](https://github.com/tc39/proposal-pipeline-operator). ![js.param.hints.show.names.for.pipes](https://resources.jetbrains.com/help/img/idea/2026.3/go_js_param_hints_show_names_for_pipes.png)

#### SQL

* In INSERT values: show names of columns in `INSERT` statements. Works only in query consoles, not as a language injection. ![In INSERT values](https://resources.jetbrains.com/help/img/idea/2026.3/db_in_insert_values.png)

* In SELECT expressions: show names of columns in `SELECT` statements that have context that sets column names. For example, `SELECT` statements inside `CREATE VIEW` and `INSERT`. Works only in query consoles, not as a language injection. ![db_in_select_expressions](https://resources.jetbrains.com/help/img/idea/2026.3/db_in_select_expressions.png)

* For * references: show names of columns for asterisk (*) references in `SELECT` statements that have context that sets column names For example, `SELECT` statements inside `CREATE VIEW` and `INSERT`. Works only in query consoles, not as a language injection. ![For asterisk references](https://resources.jetbrains.com/help/img/idea/2026.3/db_for_asterisk_references.png)

* For set operations (UNION, INTERSECT, EXCEPT): show names of columns in `SELECT` statements when they are used in set operations like `UNION`, `INTERSECT`, and `EXCEPT`. Works only in query consoles, not as a language injection. ![For set operations](https://resources.jetbrains.com/help/img/idea/2026.3/db_for_set_operations.png)

#### TypeScript

* Non-literal arguments: show both literal and named object parameters in method calls. ![js.param.hints.show.names.for.all.args](https://resources.jetbrains.com/help/img/idea/2026.3/go_ts_param_hints_show_names_for_all_args.png)

* Tagged template arguments: show arguments in tagged templates. ![js.param.hints.show.names.for.tagged](https://resources.jetbrains.com/help/img/idea/2026.3/go_ts_param_hints_show_names_for_tagged.png)

### Types

#### Javascript

* Function return types in call chains: show function return types in call chains. ![method.return.types.in.call.chains](https://resources.jetbrains.com/help/img/idea/2026.3/go_method_return_types_in_call_chains.png)

* Type annotations: show type annotations. You can configure cases in which you want to show type annotations: * Variables and fields * Parameters in parentheses * Non-parenthesized single parameter * Function return types ![type.annotations](https://resources.jetbrains.com/help/img/idea/2026.3/go_js_type_annotations.png)

#### TypeScript

* Function return types in call chains: show function return types in call chains. ![method.return.types.in.call.chains](https://resources.jetbrains.com/help/img/idea/2026.3/go_method_return_types_in_call_chains.png)

* Type annotations: show type annotations. You can configure cases in which you want to show type annotations: * Variables and fields * Parameters in parentheses * Non-parenthesized single parameter * Function return types ![type.annotations](https://resources.jetbrains.com/help/img/idea/2026.3/go_js_type_annotations.png)

### Values

#### Go

* Go: show values of constant definitions. ![go_values_inlay_hints](https://resources.jetbrains.com/help/img/idea/2026.3/go_values_inlay_hints.png)

#### TypeScript

* TypeScript: show values. Identifies places where special values (for example, null) are used.

### URL path

#### Go

* Go: show URL mappings in code. The icon provides quick access to URL testing and navigation options. ![show URL mappings](https://resources.jetbrains.com/help/img/idea/2026.3/go_show_url_mappings.png)

### Other

#### Dockerfile

* Docker run named stage: show an icon to quickly build or run a specific named stage in a Dockerfile. ![Docker run named stage](https://resources.jetbrains.com/help/img/idea/2026.3/go_docker_run_named_stage.png)

#### Markdown

* Table inlays: show horizontal and vertical bars around the table. Provides column and row actions. ![markdown.table.inlay.kind.name](https://resources.jetbrains.com/help/img/idea/2026.3/go_markdown_table_inlay_kind_name.png)

#### SQL

* Join cardinality: display the numerical relationship between rows of one table and rows in the other. Common cardinalities include one-to-one (`1<->1`), one-to-many (`1<->1..n`), many-to-many(`1..n<->1..n`), and optional (`0..n`). The optional cardinality appears when the referring field is nullable. You can configure inlay hints for the following types of JOIN: * `INNER JOIN` * `LEFT JOIN` * `RIGHT JOIN` * `FULL JOIN` ![JOIN cardinality](https://resources.jetbrains.com/help/img/idea/2026.3/db_join_cardinality.png)

