enable file nesting in explorer with custom patterns (#886)

### Description

enable file nesting, small quality of life improvement for devs

```json
"explorer.fileNesting.patterns": {
    "package.json": "pnpm-*.yaml, yarn.lock, package-lock.json, .npmrc, .nvmrc, .node-version",
    "tsconfig.json": "tsconfig.*.json",
    "Dockerfile": ".dockerignore",
    ".env": ".env.*",
    "flake.nix": "flake.lock",
    ".gitattributes": ".gitignore"
}
```

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

No AI was used
This commit is contained in:
7w1 authored and GitHub committed 2026-05-21 19:25:20 +00:00
commit f134ee94b4
1 file changed
+10 -1
+10 -1
View File
@@ -14,5 +14,14 @@
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"nixEnvSelector.nixFile": "${workspaceFolder}/flake.nix",
"nixEnvSelector.useFlakes": true
"nixEnvSelector.useFlakes": true,
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"package.json": "pnpm-*.yaml, yarn.lock, package-lock.json, .npmrc, .nvmrc, .node-version",
"tsconfig.json": "tsconfig.*.json",
"Dockerfile": ".dockerignore",
".env": ".env.*",
"flake.nix": "flake.lock",
".gitattributes": ".gitignore"
}
}