Skip to content

Commit

Permalink
feat: help user to set configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
fangbinwei committed Jun 21, 2020
1 parent 5867317 commit 3451fbe
Show file tree
Hide file tree
Showing 8 changed files with 567 additions and 56 deletions.
18 changes: 15 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"Other"
],
"activationEvents": [
"onCommand:elan.setOSSConfiguration",
"onCommand:elan.uploadFromClipboard",
"onCommand:elan.uploadFromExplorer",
"onCommand:elan.uploadFromExplorerContext",
Expand All @@ -36,17 +37,21 @@
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "elan.setOSSConfiguration",
"title": "Elan: Set OSS Configuration"
},
{
"command": "elan.uploadFromClipboard",
"title": "Elan: upload image from clipboard"
"title": "Elan: Upload Image from Clipboard"
},
{
"command": "elan.uploadFromExplorer",
"title": "Elan: upload image from explorer"
"title": "Elan: Upload Image from Explorer"
},
{
"command": "elan.uploadFromExplorerContext",
"title": "Elan: upload image"
"title": "Elan: Upload Image"
},
{
"command": "elan.bucketExplorer.deleteFromContext",
Expand Down Expand Up @@ -106,6 +111,13 @@
}
]
},
"viewsWelcome": [
{
"view": "bucketExplorer",
"contents": "Failed to connect OSS. [learn more](https://github.com/fangbinwei/aliyun-oss-uploader#configuration/).\n[Set Configuration](command:elan.setOSSConfiguration)",
"when": "elan.state == uninitialized"
}
],
"menus": {
"commandPalette": [
{
Expand Down
1 change: 1 addition & 0 deletions resources/dark/add.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions resources/light/add.svg
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 3451fbe

Please sign in to comment.