Skip to content

Instantly share code, notes, and snippets.

@VB10
Last active December 22, 2024 23:11
Show Gist options
  • Save VB10/1270fec2c655e12ff6dbeca895215c8a to your computer and use it in GitHub Desktop.
Save VB10/1270fec2c655e12ff6dbeca895215c8a to your computer and use it in GitHub Desktop.
My IDE setting json for general (cursor-vscode)
{
"dart.lineLength": 80,
"docwriter.hotkey.mac": "⌥ + .",
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.fontFamily": "JetBrains Mono",
"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",
".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,$(capture).gr.dart"
},
"[dart]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.rulers": [80],
"editor.selectionHighlight": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.suggestSelection": "first",
"editor.tabCompletion": "onlySnippets",
"editor.wordBasedSuggestions": "matchingDocuments",
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "always"
}
},
"workbench.colorCustomizations": {
"tab.activeBorderTop": "#FFE81F"
},
"editor.inlineSuggest.enabled": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment