Skip to content

Commit

Permalink
add 'add binding' command
Browse files Browse the repository at this point in the history
  • Loading branch information
emily-shen committed Dec 19, 2024
1 parent 5819b43 commit fd8a008
Show file tree
Hide file tree
Showing 8 changed files with 394 additions and 10 deletions.
12 changes: 11 additions & 1 deletion packages/cloudflare-workers-bindings-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
"command": "cloudflare-workers-bindings.refresh",
"title": "Cloudflare Workers: Refresh bindings",
"icon": "$(refresh)"
},
{
"command": "cloudflare-workers-bindings.addEntry",
"title": "Cloudflare Workers: Add binding",
"icon": "$(add)"
}
],
"menus": {
Expand All @@ -39,6 +44,11 @@
"command": "cloudflare-workers-bindings.refresh",
"when": "view == cloudflare-workers-bindings",
"group": "navigation"
},
{
"command": "cloudflare-workers-bindings.addEntry",
"when": "view == cloudflare-workers-bindings",
"group": "navigation"
}
]
},
Expand All @@ -64,7 +74,7 @@
"viewsWelcome": [
{
"view": "cloudflare-workers-bindings",
"contents": "Welcome to Cloudflare Workers! [Learn more](https://workers.cloudflare.com).\n[Refresh Bindings](command:cloudflare-workers-bindings.refresh)"
"contents": "Welcome to Cloudflare Workers! [Learn more](https://workers.cloudflare.com).\n[Add a binding](command:cloudflare-workers-bindings.addEntry)"
}
]
},
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit fd8a008

Please sign in to comment.