Skip to content

Commit 356c932

Browse files
committed
icon and translation.
1 parent e99dd39 commit 356c932

File tree

4 files changed

+49
-3
lines changed

4 files changed

+49
-3
lines changed

package.json

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@
5454
"Visualization"
5555
],
5656
"activationEvents": [
57+
"onCommand:deepnote.openFile",
58+
"onCommand:deepnote.openNotebook",
59+
"onCommand:deepnote.refreshExplorer",
60+
"onCommand:deepnote.revealInExplorer",
5761
"onLanguage:jupyter",
5862
"onLanguage:python",
5963
"onLanguageModelTool:configure_notebook",
@@ -251,6 +255,30 @@
251255
}
252256
],
253257
"commands": [
258+
{
259+
"command": "deepnote.refreshExplorer",
260+
"title": "%deepnote.commands.refreshExplorer.title%",
261+
"category": "Deepnote",
262+
"icon": "$(refresh)"
263+
},
264+
{
265+
"command": "deepnote.openNotebook",
266+
"title": "%deepnote.commands.openNotebook.title%",
267+
"category": "Deepnote",
268+
"icon": "$(notebook)"
269+
},
270+
{
271+
"command": "deepnote.openFile",
272+
"title": "%deepnote.commands.openFile.title%",
273+
"category": "Deepnote",
274+
"icon": "$(go-to-file)"
275+
},
276+
{
277+
"command": "deepnote.revealInExplorer",
278+
"title": "%deepnote.commands.revealInExplorer.title%",
279+
"category": "Deepnote",
280+
"icon": "$(reveal)"
281+
},
254282
{
255283
"command": "dataScience.ClearCache",
256284
"title": "%jupyter.command.dataScience.clearCache.title%",
@@ -2007,7 +2035,7 @@
20072035
{
20082036
"id": "deepnote",
20092037
"title": "Deepnote",
2010-
"icon": "$(notebook)"
2038+
"icon": "resources/dark/deepnote-icon.svg"
20112039
}
20122040
],
20132041
"panel": [
@@ -2031,7 +2059,11 @@
20312059
{
20322060
"id": "deepnoteExplorer",
20332061
"name": "Explorer",
2034-
"when": "workspaceFolderCount != 0"
2062+
"when": "workspaceFolderCount != 0",
2063+
"iconPath": {
2064+
"light": "./resources/light/deepnote-icon.svg",
2065+
"dark": "./resources/dark/deepnote-icon.svg"
2066+
}
20352067
}
20362068
]
20372069
},

package.nls.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,5 +244,9 @@
244244
"jupyter.languageModelTools.configure_notebook.userDescription": "Ensure Notebook is ready for use, such as running cells.",
245245
"jupyter.languageModelTools.notebook_list_packages.userDescription": "Lists Python packages available in the selected Notebook Kernel.",
246246
"jupyter.languageModelTools.notebook_install_packages.userDescription": "Installs Python packages in the selected Notebook Kernel.",
247-
"deepnote.notebook.displayName": "Deepnote Notebook"
247+
"deepnote.notebook.displayName": "Deepnote Notebook",
248+
"deepnote.commands.refreshExplorer.title": "Refresh Explorer",
249+
"deepnote.commands.openNotebook.title": "Open Notebook",
250+
"deepnote.commands.openFile.title": "Open File",
251+
"deepnote.commands.revealInExplorer.title": "Reveal in Explorer"
248252
}

resources/dark/deepnote-icon.svg

Lines changed: 5 additions & 0 deletions
Loading

resources/light/deepnote-icon.svg

Lines changed: 5 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)