mirror of
https://github.com/Microsoft/vscode
synced 2024-11-05 18:29:38 +00:00
Localize ipynb extension commands (#172272)
* Localize ipynb extension commands * More updates
This commit is contained in:
parent
75d10e42f1
commit
5efc2a498a
2 changed files with 12 additions and 8 deletions
|
@ -13,8 +13,7 @@
|
||||||
"diffContentOptions"
|
"diffContentOptions"
|
||||||
],
|
],
|
||||||
"activationEvents": [
|
"activationEvents": [
|
||||||
"onNotebook:jupyter-notebook",
|
"onNotebook:jupyter-notebook"
|
||||||
"onCommand:ipynb.newUntitledIpynb"
|
|
||||||
],
|
],
|
||||||
"extensionKind": [
|
"extensionKind": [
|
||||||
"workspace",
|
"workspace",
|
||||||
|
@ -44,17 +43,17 @@
|
||||||
"commands": [
|
"commands": [
|
||||||
{
|
{
|
||||||
"command": "ipynb.newUntitledIpynb",
|
"command": "ipynb.newUntitledIpynb",
|
||||||
"title": "New Jupyter Notebook",
|
"title": "%newUntitledIpynb.title%",
|
||||||
"shortTitle": "Jupyter Notebook",
|
"shortTitle": "%newUntitledIpynb.shortTitle%",
|
||||||
"category": "Create"
|
"category": "Create"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "ipynb.openIpynbInNotebookEditor",
|
"command": "ipynb.openIpynbInNotebookEditor",
|
||||||
"title": "Open ipynb file in notebook editor"
|
"title": "%openIpynbInNotebookEditor.title%"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "ipynb.cleanInvalidImageAttachment",
|
"command": "ipynb.cleanInvalidImageAttachment",
|
||||||
"title": "Clean invalid image attachment reference"
|
"title": "%cleanInvalidImageAttachment.title%"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"notebooks": [
|
"notebooks": [
|
||||||
|
@ -72,7 +71,7 @@
|
||||||
"notebookRenderer": [
|
"notebookRenderer": [
|
||||||
{
|
{
|
||||||
"id": "vscode.markdown-it-cell-attachment-renderer",
|
"id": "vscode.markdown-it-cell-attachment-renderer",
|
||||||
"displayName": "Markdown it ipynb Cell Attachment renderer",
|
"displayName": "%markdownAttachmentRenderer.displayName%",
|
||||||
"entrypoint": {
|
"entrypoint": {
|
||||||
"extends": "vscode.markdown-it-renderer",
|
"extends": "vscode.markdown-it-renderer",
|
||||||
"path": "./notebook-out/cellAttachmentRenderer.js"
|
"path": "./notebook-out/cellAttachmentRenderer.js"
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
{
|
{
|
||||||
"displayName": ".ipynb Support",
|
"displayName": ".ipynb Support",
|
||||||
"description": "Provides basic support for opening and reading Jupyter's .ipynb notebook files",
|
"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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue