Skip to content

Commit

Permalink
Merge pull request #381 from satiromarra/dev-download-icons
Browse files Browse the repository at this point in the history
  • Loading branch information
satiromarra authored Jun 29, 2023
2 parents d2192bc + 58f9981 commit 6879b8f
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 3 deletions.
24 changes: 21 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,11 @@
{
"command": "sftp.download.file",
"title": "Download File",
"category": "SFTP"
"category": "SFTP",
"icon": {
"dark": "resources/dark/download-file.svg",
"light": "resources/light/download-file.svg"
}
},
{
"command": "sftp.download.activeFile",
Expand All @@ -176,7 +180,11 @@
{
"command": "sftp.download.folder",
"title": "Download Folder",
"category": "SFTP"
"category": "SFTP",
"icon": {
"dark": "resources/dark/download-folder.svg",
"light": "resources/light/download-folder.svg"
}
},
{
"command": "sftp.download.activeFolder",
Expand Down Expand Up @@ -606,6 +614,16 @@
"command": "sftp.create.file",
"group": "7_modification",
"when": "view == remoteExplorer && viewItem != file"
},
{
"command": "sftp.download.file",
"group": "inline",
"when": "view == remoteExplorer && viewItem == file"
},
{
"command": "sftp.download.folder",
"group": "inline",
"when": "sftp.enabled && view == remoteExplorer && viewItem == folder"
}
],
"scm/title": [
Expand Down Expand Up @@ -721,4 +739,4 @@
"<rootDir>/**/*/__tests__/*.ts"
]
}
}
}
9 changes: 9 additions & 0 deletions resources/dark/download-file.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions resources/dark/download-folder.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions resources/light/download-file.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions resources/light/download-folder.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6879b8f

Please sign in to comment.