JetBrains Rider 2018.2 Help

File Nesting Dialog

This dialog opens when you click File Nesting icon file nesting on the toolbar of the Solution Explorer.

JetBrains Rider provides a default configuration of file types and typical suffixes that are used for related file types — for example, a file with the .map.ts suffix is normally related to a file having the same name and the .ts extension — such files will be automatically grouped in the Solution Explorer.
You can configure these relations or disable logical nesting altogether by clicking icon file nesting on the toolbar of the Solution Explorer.

JetBrains Rider: Grouping related files using file nesting
Grouping of files in this way will not make any changes in your project/solution config files.

Item

Shortcut

Description

Show files with the same names as nested

  • When the checkbox is selected, JetBrains Rider recognizes children files based on the patterns from the list and shows them grouped under the corresponding parents. Compare the presentation of the above TypeScript example with file nesting enabled:

    A typescript file leftpad.ts with a compiled JavaScript file leftpad.js                              and a generated sourcemap file leftpad.js.map shown as a nest

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

icons general add svgCtrl+N

Click this button to add a new row and specify the "parent" file suffix and the matching "child" file suffix.

icons general remove svgCtrl+R, D

Click this button to remove the selected rule from the list.

Reset to Default

Click this button to discard all your custom patterns and reload the default rules.

Last modified: 21 December 2018