CLion 2021.1 Help

File nesting dialog

This dialog opens when you click File Nesting on the context menu of the title bar in the Project tool window.

Use this dialog to configure presentation of files with the same names but different suffixes.

CLion can present such file bunches as plain structures or show parent files as folders (nests) with their child files inside. To configure file nesting, set correspondence between the suffixes of parent files and the suffixes of the child files.

CLion provides a set of predefined rules. You can edit these rules as well as define your own custom ones.

Show files with the same names as nested
  • When the checkbox is selected, CLion recognizes child files based on the patterns from the list and shows them grouped under the corresponding parents.

  • When the checkbox is cleared, CLion shows parents and children at the same level.

the Add buttonAlt+InsertClick this button to add a new row and specify the "parent" file suffix and the matching "child" file suffix.
the Remove buttonAlt+DeleteClick this button to remove the selected rule from the list.
Reset to DefaultClick this button to discard all your custom patterns and reload the default rules.
Last modified: 08 March 2021