vs-nesting.json
Visual Studio's file nesting feature
| Type | object |
|---|---|
| File match |
*.filenesting.json
.filenesting.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/vs-nesting-json/latest.json |
| Source | https://www.schemastore.org/vs-nesting.json |
Validate with Lintel
npx @lintel/lintel check
Properties
Determines if this is the root nesting config file and no further inheritance is required.
Contains a collection of nesting rule providers specified in the order to be applied.
Definitions
If this exist, files with an additional extension should nest under file without additional extension. Example: file.html.css nest under file.html
If this exists, files with "extra" extension part in the file name should nest under files without it, but having same name and last extension. Example: file.min.js nest under file.js.
2 nested properties
Add nesting rules in the order to be applied by corresponding provider, where each rule entry has a form 'child: collection of potential parents'.
1 nested properties
Remove specified nesting rules if they are merged from higher level nesting settings.
Nest files with specific extensions under other specific extensions
Nest specific file names under other specific file names
Nest files with specified suffixes under files with specified extensions.
A greedy version of 'extensionToExtension' and has * as the only child key
2 nested properties
Add nesting rules in the order to be applied by corresponding provider, where each rule entry has a form 'child: collection of potential parents'.
1 nested properties
Remove specified nesting rules if they are merged from higher level nesting settings.