Skip to content

Instantly share code, notes, and snippets.

@jgtaveras
Forked from gaetschwartz/settings.json
Created March 25, 2022 04:45
Show Gist options
  • Save jgtaveras/aa30e1177a708cda3a3f214954a4ce86 to your computer and use it in GitHub Desktop.
Save jgtaveras/aa30e1177a708cda3a3f214954a4ce86 to your computer and use it in GitHub Desktop.
Nest files in Flutter projects on VSCode, inspired from https://github.com/antfu/vscode-file-nesting-config
"explorer.experimental.fileNesting.enabled": true,
"explorer.experimental.fileNesting.expand": false,
"explorer.experimental.fileNesting.patterns": {
"pubspec.yaml": ".flutter-plugins, .packages, .dart_tool, .flutter-plugins-dependencies, .metadata, .packages, pubspec.lock, build.yaml, analysis_options.yaml, all_lint_rules.yaml",
".gitignore": ".gitattributes, .gitmodules, .gitmessage, .mailmap, .git-blame*",
"readme.*": "authors, backers.md, changelog*, citation*, code_of_conduct.md, codeowners, contributing.md, contributors, copying, credits, governance.md, history.md, license*, maintainers, readme*, security.md, sponsors.md",
"*.dart": "$(capture).g.dart, $(capture).freezed.dart",
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment