Go configuration
In IntelliJ IDEA, you can configure settings for rename operations, suggestions in the code completion list, quick documentation, and so on. To set these options, open settings by pressing Control+Alt+S and navigate to
.Item | Description | ||||
---|---|---|---|---|---|
Suggest parameters name in completion | Generates variable names for parameters. For example, if you select the | ||||
Suggest variants which require additional imports as you type | Adds variants of code constructs, which require you to import packages, to the code completion list.
| ||||
Indent on enter in raw strings | Keeps an indent for raw string literals when you press Enter. Raw string literals are character sequences between grave accent marks (for example,
| ||||
Show documentation in parameter info | Displays documentation about a function.
| ||||
Detect go packages from clipboard | Displays a dialog with a suggestion to add a package to GOPATH. The dialog appears when you copy a link to the package that is not in your GOPATH yet (for example, | ||||
Enable generics (experimental support for type parameters) | Enables the experimental support for type parameters that were introduced by the following draft to support the generic programming. | ||||
When directory is renamed | Performs the selected action when you rename a directory in a project. | ||||
When package is renamed | Performs the selected action when you rename a package in a project. | ||||
When file is renamed | Performs the selected action when you rename a file in a project. |