Skip to content

Instantly share code, notes, and snippets.

@kitsuniru
Created August 21, 2022 22:41
Show Gist options
  • Save kitsuniru/919bce18242d43cca5296bb55da6eaa5 to your computer and use it in GitHub Desktop.
Save kitsuniru/919bce18242d43cca5296bb55da6eaa5 to your computer and use it in GitHub Desktop.
Personal settings for VSCode [Dart development]
{
"dart.lineLength": 80,
"[dart]": {
"editor.rulers": [
80
],
},
"dart.additionalAnalyzerFileExtensions": [
"drift"
],
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.expand": false,
"explorer.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, flutter_*.yaml, icons_launcher.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).gr.dart, $(capture).freezed.dart, $(capture).config.dart",
"*.graphql": "$(capture).gql.dart, $(capture).*.gql.dart",
"schema.graphql": "schema.schema.gql.dart",
"firebase.json": ".firebaserc"
},
"workbench.editor.enablePreviewFromQuickOpen": false,
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"telemetry.telemetryLevel": "off",
"workbench.settings.enableNaturalLanguageSearch": false,
//"dart.flutterSdkPath": [place here path to your flutter sdk],
"workbench.iconTheme": "eq-material-theme-icons-darker",
"workbench.colorTheme": "Aura Dark",
"editor.formatOnSave": true,
"security.workspace.trust.untrustedFiles": "open",
"git.confirmSync": false,
"git.enableSmartCommit": true,
"workbench.colorCustomizations": {
"editor.lineHighlightBackground": "#1073cf2d",
"editor.lineHighlightBorder": "#9fced11f"
},
"[git-commit]": {
"editor.semanticHighlighting.enabled": true
},
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports": true,
},
"git.showProgress": true,
"editor.wordWrap": "off",
"diffEditor.wordWrap": "off",
"editor.guides.indentation": false,
"editor.guides.bracketPairs": false,
"editor.inlayHints.enabled": "off",
"explorer.confirmDelete": false,
"dart.debugExternalPackageLibraries": true,
"dart.debugSdkLibraries": false,
"dart.warnWhenEditingFilesOutsideWorkspace": false,
"explorer.confirmDragAndDrop": false,
"kotlin.debugAdapter.enabled": false,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment