mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
![Michael Lively](/assets/img/avatar_default.png)
* cache and cleaner complete, needs debounce * minor renaming and reformatting * bugfix for paste into new cell * cleaning functionality complete * refer to metadata as copy of current cell's * check undef before reading from cache * working state, pending cache restructure * dots -> brackets * pre-class refactor * massive cleaner refactor * cache typing, closed nb check, workspaceEdit only if metadata is changed * undefined access fix * proper debouncer * get it up to work again * no need to loop * cell metadata uri parsing regression * diagnostic * Show diagnostics on document open * transfer cache before file renames * disable word wrap in notebook diff editor * Avoid early notebook cell metadata deep clone * No special case empty cell * rename * better naming * Quick fix for invalid image attachment * cleanup * Add code action metadata Co-authored-by: rebornix <penn.lv@gmail.com>
125 lines
2.5 KiB
JSON
125 lines
2.5 KiB
JSON
{
|
|
"name": "ipynb",
|
|
"displayName": "%displayName%",
|
|
"description": "%description%",
|
|
"publisher": "vscode",
|
|
"version": "1.0.0",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"vscode": "^1.57.0"
|
|
},
|
|
"enabledApiProposals": [
|
|
"documentPaste"
|
|
],
|
|
"activationEvents": [
|
|
"*"
|
|
],
|
|
"extensionKind": [
|
|
"workspace",
|
|
"ui"
|
|
],
|
|
"main": "./out/ipynbMain.js",
|
|
"browser": "./dist/browser/ipynbMain.js",
|
|
"capabilities": {
|
|
"virtualWorkspaces": true,
|
|
"untrustedWorkspaces": {
|
|
"supported": true
|
|
}
|
|
},
|
|
"contributes": {
|
|
"configuration": [
|
|
{
|
|
"properties": {
|
|
"ipynb.experimental.pasteImages.enabled": {
|
|
"type": "boolean",
|
|
"scope": "resource",
|
|
"markdownDescription": "%ipynb.experimental.pasteImages.enabled%",
|
|
"default": false,
|
|
"tags": [
|
|
"experimental"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"commands": [
|
|
{
|
|
"command": "ipynb.newUntitledIpynb",
|
|
"title": "New Jupyter Notebook",
|
|
"shortTitle": "Jupyter Notebook",
|
|
"category": "Create"
|
|
},
|
|
{
|
|
"command": "ipynb.openIpynbInNotebookEditor",
|
|
"title": "Open ipynb file in notebook editor"
|
|
},
|
|
{
|
|
"command": "ipynb.cleanInvalidImageAttachment",
|
|
"title": "Clean invalid image attachment reference"
|
|
}
|
|
],
|
|
"notebooks": [
|
|
{
|
|
"type": "jupyter-notebook",
|
|
"displayName": "Jupyter Notebook",
|
|
"selector": [
|
|
{
|
|
"filenamePattern": "*.ipynb"
|
|
}
|
|
],
|
|
"priority": "default"
|
|
}
|
|
],
|
|
"notebookRenderer": [
|
|
{
|
|
"id": "vscode.markdown-it-cell-attachment-renderer",
|
|
"displayName": "Markdown it ipynb Cell Attachment renderer",
|
|
"entrypoint": {
|
|
"extends": "vscode.markdown-it-renderer",
|
|
"path": "./notebook-out/cellAttachmentRenderer.js"
|
|
}
|
|
}
|
|
],
|
|
"menus": {
|
|
"file/newFile": [
|
|
{
|
|
"command": "ipynb.newUntitledIpynb",
|
|
"group": "notebook"
|
|
}
|
|
],
|
|
"commandPalette": [
|
|
{
|
|
"command": "ipynb.newUntitledIpynb"
|
|
},
|
|
{
|
|
"command": "ipynb.openIpynbInNotebookEditor",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "ipynb.cleanInvalidImageAttachment",
|
|
"when": "false"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"scripts": {
|
|
"compile": "npx gulp compile-extension:ipynb && npm run build-notebook",
|
|
"watch": "npx gulp watch-extension:ipynb",
|
|
"build-notebook": "node ./esbuild"
|
|
},
|
|
"dependencies": {
|
|
"@enonic/fnv-plus": "^1.3.0",
|
|
"detect-indent": "^6.0.0",
|
|
"uuid": "^8.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@jupyterlab/nbformat": "^3.2.9",
|
|
"@types/markdown-it": "12.2.3",
|
|
"@types/uuid": "^8.3.1"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/microsoft/vscode.git"
|
|
}
|
|
}
|