Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(vscode): Example of possible Vscode config control #29

Merged
merged 2 commits into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,10 @@ $RECYCLE.BIN/
*.msp

# Windows shortcuts
*.lnk
*.lnk

# .vscode ignore local changes to config, but not the recommended settings/launch/extensions
/.vscode/*
!/.vscode/extensions.json
!/.vscode/launch.recommended.json
!/.vscode/settings.recommended.json
10 changes: 10 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
// These extensions are recommended for developing with the repository.
"recommendations": [
"vivaxy.vscode-conventional-commits",
"streetsidesoftware.code-spell-checker",
"DavidAnson.vscode-markdownlint",
"Dart-Code.dart-code",
"Dart-Code.flutter"
]
}
1 change: 1 addition & 0 deletions .vscode/launch.json → .vscode/launch.recommended.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
// Recommended `launch.json` configuration
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
Expand Down
34 changes: 0 additions & 34 deletions .vscode/settings.json

This file was deleted.

44 changes: 44 additions & 0 deletions .vscode/settings.recommended.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
// Recommended `settings.json` configuration
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true,
"source.sortMembers": true,
"source.fixAll": true
},
"files.autoSave": "afterDelay",
"editor.formatOnType": true,
"editor.rulers": [
100
],
"editor.tabSize": 4,
"debug.openDebug": "openOnDebugBreak",
"debug.internalConsoleOptions": "openOnSessionStart",
"dart.debugSdkLibraries": false,
"[dart]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.rulers": [
80
],
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports": true
},
"editor.selectionHighlight": false,
"editor.suggestSelection": "first",
"editor.wordBasedSuggestions": false,
"editor.tabCompletion": "onlySnippets",
"editor.defaultFormatter": "Dart-Code.dart-code"
},
"window.title": "${dirty}${activeEditorShort}",
"conventionalCommits.scopes": [
"vscode",
"athena",
"frontend",
"frontend-pkg",
"backend",
"backend-lib"
],
"conventionalCommits.gitmoji": false
}