Skip to content

Commit

Permalink
adding vscode directory to source control to manage dart workspace co…
Browse files Browse the repository at this point in the history
…nfigurations
  • Loading branch information
hjiangsu committed Jul 20, 2023
1 parent 34fd7e3 commit e7f778e
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*.log
*.pyc
*.swp
.vscode/
.DS_Store
.atom/
.buildlog/
Expand All @@ -21,7 +20,7 @@ release/
# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/
# .vscode/

# Flutter/Dart/Pub related
**/doc/api/
Expand Down
25 changes: 25 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
// 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
"version": "0.2.0",
"configurations": [
{
"name": "thunder",
"request": "launch",
"type": "dart"
},
{
"name": "thunder (profile mode)",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "thunder (release mode)",
"request": "launch",
"type": "dart",
"flutterMode": "release"
}
]
}
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"dart.lineLength": 200,
"[dart]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.rulers": [
200
],
},
}

0 comments on commit e7f778e

Please sign in to comment.