Skip to content

Commit 56b06f8

Browse files
author
Jackson Kearl
committed
1 parent 85a33a1 commit 56b06f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/vs/workbench/contrib/files/browser/files.contribution.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ configurationRegistry.registerConfiguration({
462462
},
463463
'explorer.experimental.fileNesting.enabled': {
464464
'type': 'boolean',
465+
scope: ConfigurationScope.RESOURCE,
465466
'markdownDescription': nls.localize('fileNestingEnabled', "Experimental. Controls whether file nesting is enabled in the explorer. File nesting allows for related files in a directory to be visually grouped together under a single parent file."),
466467
'default': false,
467468
},
@@ -477,6 +478,7 @@ configurationRegistry.registerConfiguration({
477478
},
478479
'explorer.experimental.fileNesting.patterns': {
479480
'type': 'object',
481+
scope: ConfigurationScope.RESOURCE,
480482
'markdownDescription': nls.localize('fileNestingPatterns', "Controls nesting of files in the explorer. Each __Item__ represents a parent pattern and may contain a single `*` character that matches any string. Each __Value__ represents a comma separated list of the child patterns that should be shown nested under a given parent. Child patterns may contain several special tokens:\n- `${capture}`: Matches the resolved value of the `*` from the parent pattern\n- `${basename}`: Matches the parent file's basename, the `file` in `file.ts`\n- `${extname}`: Matches the parent file's extension, the `ts` in `file.ts`\n- `${dirname}`: Matches the parent file's directory name, the `src` in `src/file.ts`\n- `*`: Matches any string, may only be used once per child pattern"),
481483
patternProperties: {
482484
'^[^*]*\\*?[^*]*$': {

0 commit comments

Comments
 (0)