Skip to content

Instantly share code, notes, and snippets.

@Narven
Forked from gaetschwartz/settings.json
Created March 10, 2022 09:24
Show Gist options
  • Save Narven/30658b18dc4f0ebfc2f9f52fc2914d67 to your computer and use it in GitHub Desktop.
Save Narven/30658b18dc4f0ebfc2f9f52fc2914d67 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