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

chore: add vscode config directory #2565

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ sdk/
# 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/
.vs/

# Firebase extras
Expand Down
8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"dart-code.flutter",
"dart-code.dart-code",
"ms-vscode-remote.remote-containers",
"felixangelov.bloc"
]
}
48 changes: 48 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
// 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": "komodo-wallet",
"request": "launch",
"program": "lib/main.dart",
"args": [
"--web-port=55353"
],
"type": "dart"
},
{
"name": "komodo-wallet (no-cache)",
"request": "launch",
"program": "lib/main.dart",
"type": "dart"
},
{
"name": "komodo-wallet (profile mode)",
"request": "launch",
"type": "dart",
"program": "lib/main.dart",
"args": [
"--web-port=55353"
],
// Specify testing mode here to show more verbose logging
// despite not being in debug mode.
"env": {
"testing_mode": "true"
},
"flutterMode": "profile"
},
{
"name": "komodo-wallet (release mode)",
"request": "launch",
"type": "dart",
"program": "lib/main.dart",
"flutterMode": "release",
"args": [
"--web-port=55353"
]
}
]
}
36 changes: 36 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"type": "dart",
"group": {
"kind": "build",
"isDefault": false,
},
"label": "Flutter: run unit tests",
"command": "flutter",
"args": [
"test",
"test_units/main.dart",
]
},
{
"type": "dart",
"group": {
"kind": "build",
"isDefault": false,
},
"label": "Flutter: run integration tests",
"command": "dart",
"args": [
"run_integration_tests.dart",
"--browser_name=chrome",
"-k",
"-b",
"1600,1024",
]
}
]
}
Loading