|
1 | 1 | { |
| 2 | + // Dart/Flutter specific settings |
2 | 3 | "dart.lineLength": 100, |
| 4 | + "dart.previewFlutterUiGuides": true, |
| 5 | + "dart.previewFlutterUiGuidesCustomTracking": true, |
| 6 | + "dart.debugSdkLibraries": false, |
| 7 | + // File handling |
| 8 | + "files.insertFinalNewline": true, |
| 9 | + "files.trimTrailingWhitespace": true, |
| 10 | + "files.exclude": { |
| 11 | + "**/.dart_tool/**": true, |
| 12 | + "**/build/**": true, |
| 13 | + "**/*.g.dart": true, |
| 14 | + "**/*.iml": true |
| 15 | + }, |
| 16 | + // Explorer settings for better project navigation |
| 17 | + "explorer.fileNesting.enabled": true, |
| 18 | + "explorer.fileNesting.expand": false, |
| 19 | + "explorer.fileNesting.patterns": { |
| 20 | + "pubspec.yaml": "pubspec.lock,analysis_options.yaml,.metadata", |
| 21 | + "*.dart": "*.g.dart", |
| 22 | + "README.md": "CHANGELOG.md,LICENSE,CODEOWNERS" |
| 23 | + }, |
| 24 | + // Editor formatting |
3 | 25 | "editor.formatOnSave": true, |
4 | 26 | "editor.codeActionsOnSave": { |
5 | 27 | "source.fixAll": "explicit", |
6 | 28 | "source.organizeImports": "explicit" |
7 | 29 | }, |
8 | | - "explorer.fileNesting.enabled": true, |
9 | | - "explorer.fileNesting.expand": false, |
10 | | - "files.insertFinalNewline": true |
| 30 | + "editor.rulers": [ |
| 31 | + 100 |
| 32 | + ], |
| 33 | + "editor.tabSize": 2, |
| 34 | + "editor.insertSpaces": true, |
| 35 | + "editor.detectIndentation": false, |
| 36 | + // Language specific settings |
| 37 | + "[dart]": { |
| 38 | + "editor.selectionHighlight": false, |
| 39 | + "editor.suggest.snippetsPreventQuickSuggestions": false, |
| 40 | + "editor.suggestSelection": "first", |
| 41 | + "editor.tabCompletion": "onlySnippets", |
| 42 | + "editor.wordBasedSuggestions": "off" |
| 43 | + }, |
| 44 | + "[yaml]": { |
| 45 | + "editor.insertSpaces": true, |
| 46 | + "editor.tabSize": 2, |
| 47 | + "editor.autoIndent": "advanced" |
| 48 | + }, |
| 49 | + "[json]": { |
| 50 | + "editor.defaultFormatter": "vscode.json-language-features" |
| 51 | + }, |
| 52 | + "[markdown]": { |
| 53 | + "editor.wordWrap": "wordWrapColumn", |
| 54 | + "editor.wordWrapColumn": 80, |
| 55 | + "editor.quickSuggestions": { |
| 56 | + "comments": "off", |
| 57 | + "strings": "off", |
| 58 | + "other": "off" |
| 59 | + }, |
| 60 | + "editor.suggest.showWords": false, |
| 61 | + "editor.formatOnSave": false |
| 62 | + }, |
| 63 | + // Search settings |
| 64 | + "search.exclude": { |
| 65 | + "**/.dart_tool/**": true, |
| 66 | + "**/build/**": true, |
| 67 | + "**/node_modules/**": true, |
| 68 | + "**/.git/**": true |
| 69 | + }, |
| 70 | + // Workbench settings |
| 71 | + "workbench.editorAssociations": { |
| 72 | + "*.md": "default" |
| 73 | + } |
11 | 74 | } |
0 commit comments