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): added stop to debug toolbar #1001

Merged
merged 4 commits into from
Sep 6, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 12 additions & 1 deletion extensions/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@
},
{
"command": "dart-frog.stop-dev-server",
"title": "Dart Frog: Stop Development Server"
"title": "Dart Frog: Stop Development Server",
"icon": {
"dark": "./assets/commands/stop-dev-server--dark.svg",
"light": "./assets/commands/stop-dev-server--light.svg"
}
},
{
"command": "dart-frog.debug-dev-server",
Expand Down Expand Up @@ -92,6 +96,13 @@
"group": "dartFrogGroup@2",
"when": "!(resourceDirname =~ /routes/) && !(explorerResourceIsFolder && resourceFilename == routes)"
}
],
"debug/toolBar": [
{
"command": "dart-frog.stop-dev-server",
"group": "navigation@50",
alestiago marked this conversation as resolved.
Show resolved Hide resolved
"when": "dart-frog:anyDartFrogProjectLoaded && inDebugMode && debugType == dart"
}
]
},
"icons": {
Expand Down