Localize ipynb extension commands (#172272)

* Localize ipynb extension commands

* More updates
This commit is contained in:
Don Jayamanne
2023-01-27 08:24:22 +11:00
committed by GitHub
parent 75d10e42f1
commit 5efc2a498a
2 changed files with 12 additions and 8 deletions

View File

@@ -13,8 +13,7 @@
"diffContentOptions"
],
"activationEvents": [
"onNotebook:jupyter-notebook",
"onCommand:ipynb.newUntitledIpynb"
"onNotebook:jupyter-notebook"
],
"extensionKind": [
"workspace",
@@ -44,17 +43,17 @@
"commands": [
{
"command": "ipynb.newUntitledIpynb",
"title": "New Jupyter Notebook",
"shortTitle": "Jupyter Notebook",
"title": "%newUntitledIpynb.title%",
"shortTitle": "%newUntitledIpynb.shortTitle%",
"category": "Create"
},
{
"command": "ipynb.openIpynbInNotebookEditor",
"title": "Open ipynb file in notebook editor"
"title": "%openIpynbInNotebookEditor.title%"
},
{
"command": "ipynb.cleanInvalidImageAttachment",
"title": "Clean invalid image attachment reference"
"title": "%cleanInvalidImageAttachment.title%"
}
],
"notebooks": [
@@ -72,7 +71,7 @@
"notebookRenderer": [
{
"id": "vscode.markdown-it-cell-attachment-renderer",
"displayName": "Markdown it ipynb Cell Attachment renderer",
"displayName": "%markdownAttachmentRenderer.displayName%",
"entrypoint": {
"extends": "vscode.markdown-it-renderer",
"path": "./notebook-out/cellAttachmentRenderer.js"