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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"

View file

@ -1,5 +1,10 @@
{
"displayName": ".ipynb Support",
"description": "Provides basic support for opening and reading Jupyter's .ipynb notebook files",
"ipynb.pasteImagesAsAttachments.enabled": "Enable/disable pasting of images into Markdown cells in ipynb notebook files. Pasted images are inserted as attachments to the cell."
"ipynb.pasteImagesAsAttachments.enabled": "Enable/disable pasting of images into Markdown cells in ipynb notebook files. Pasted images are inserted as attachments to the cell.",
"newUntitledIpynb.title": "New Jupyter Notebook",
"newUntitledIpynb.shortTitle": "Jupyter Notebook",
"openIpynbInNotebookEditor.title": "Open IPYNB File In Notebook Editor",
"cleanInvalidImageAttachment.title": "Clean Invalid Image Attachment Reference",
"markdownAttachmentRenderer.displayName": "Markdown it ipynb Cell Attachment renderer"
}