GoLand 2022.3 Help

File nesting rules

You can configure presentation of files with the same names but different suffixes.

GoLand can present such file bunches as plain structures or show parent files as folders (nests) with their child files inside.

GoLand provides a set of predefined rules for file nesting. You can edit these rules as well as define your own custom ones. To configure file nesting, specify the suffixes of parent files and the suffixes of the child files.

Configure file nesting

  1. In the Project tool window (Alt+1), click App general gear plain, and select File Nesting.

    A dialog opens in which you can configure file nesting rules.

  2. Enable the Show files with the same names as nested option to recognize child files based on the patterns from the list and display them grouped under the corresponding parents.

    Otherwise, GoLand shows parents and children at the same level.

  3. Configure nesting rules. You can edit predefined rules or specify new ones: click the Add button and specify suffixes of parent and child files.

  4. Apply the changes and close the dialog.

Last modified: 12 December 2022