WebStorm
 
Get WebStorm

File nesting rules

Last modified: 10 February 2025

You can configure the presentation of files with the same names but with different suffixes. Such file bunches can be presented as plain structures or the parent files can be shown as folders (nests) with their child files inside.

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

Nesting rules off

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

A typescript file with a compiled JavaScript file and a generated source map file are shown as plain structure