PyCharm
 
Get PyCharm
You are viewing the documentation for an earlier version of PyCharm.

File nesting dialog

Last modified: 17 March 2022

Open the dialog: Project tool window | App general gear plain | File Nesting

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

Such bunches of files may appear in framework-specific projects, for example, if you use Angular.

Angular application: a bunch of app files with various extensions

Also consider compilation of TypeScript into JavaScript with source maps generated:

A typescript file leftpad.ts with a compiled JavaScript file leftpad.js
                 and a generated source map file leftpad.js.map shown at the same level

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

PyCharm 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.