Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/ipynb/package.json
3291 views
1
{
2
"name": "ipynb",
3
"displayName": "%displayName%",
4
"description": "%description%",
5
"publisher": "vscode",
6
"version": "1.0.0",
7
"license": "MIT",
8
"icon": "media/icon.png",
9
"engines": {
10
"vscode": "^1.57.0"
11
},
12
"enabledApiProposals": [
13
"diffContentOptions"
14
],
15
"activationEvents": [
16
"onNotebook:jupyter-notebook",
17
"onNotebookSerializer:interactive",
18
"onNotebookSerializer:repl"
19
],
20
"extensionKind": [
21
"workspace",
22
"ui"
23
],
24
"main": "./out/ipynbMain.node.js",
25
"browser": "./dist/browser/ipynbMain.browser.js",
26
"capabilities": {
27
"virtualWorkspaces": true,
28
"untrustedWorkspaces": {
29
"supported": true
30
}
31
},
32
"contributes": {
33
"configuration": [
34
{
35
"properties": {
36
"ipynb.pasteImagesAsAttachments.enabled": {
37
"type": "boolean",
38
"scope": "resource",
39
"markdownDescription": "%ipynb.pasteImagesAsAttachments.enabled%",
40
"default": true
41
},
42
"ipynb.experimental.serialization": {
43
"type": "boolean",
44
"scope": "resource",
45
"markdownDescription": "%ipynb.experimental.serialization%",
46
"default": true,
47
"tags": [
48
"experimental"
49
]
50
}
51
}
52
}
53
],
54
"commands": [
55
{
56
"command": "ipynb.newUntitledIpynb",
57
"title": "%newUntitledIpynb.title%",
58
"shortTitle": "%newUntitledIpynb.shortTitle%",
59
"category": "Create"
60
},
61
{
62
"command": "ipynb.openIpynbInNotebookEditor",
63
"title": "%openIpynbInNotebookEditor.title%"
64
},
65
{
66
"command": "ipynb.cleanInvalidImageAttachment",
67
"title": "%cleanInvalidImageAttachment.title%"
68
},
69
{
70
"command": "notebook.cellOutput.copy",
71
"title": "%copyCellOutput.title%",
72
"category": "Notebook"
73
},
74
{
75
"command": "notebook.cellOutput.addToChat",
76
"title": "%addCellOutputToChat.title%",
77
"category": "Notebook",
78
"enablement": "chatIsEnabled"
79
},
80
{
81
"command": "notebook.cellOutput.openInTextEditor",
82
"title": "%openCellOutput.title%",
83
"category": "Notebook"
84
}
85
],
86
"notebooks": [
87
{
88
"type": "jupyter-notebook",
89
"displayName": "Jupyter Notebook",
90
"selector": [
91
{
92
"filenamePattern": "*.ipynb"
93
}
94
],
95
"priority": "default"
96
}
97
],
98
"notebookRenderer": [
99
{
100
"id": "vscode.markdown-it-cell-attachment-renderer",
101
"displayName": "%markdownAttachmentRenderer.displayName%",
102
"entrypoint": {
103
"extends": "vscode.markdown-it-renderer",
104
"path": "./notebook-out/cellAttachmentRenderer.js"
105
}
106
}
107
],
108
"menus": {
109
"file/newFile": [
110
{
111
"command": "ipynb.newUntitledIpynb",
112
"group": "notebook"
113
}
114
],
115
"commandPalette": [
116
{
117
"command": "ipynb.newUntitledIpynb"
118
},
119
{
120
"command": "ipynb.openIpynbInNotebookEditor",
121
"when": "false"
122
},
123
{
124
"command": "ipynb.cleanInvalidImageAttachment",
125
"when": "false"
126
},
127
{
128
"command": "notebook.cellOutput.copy",
129
"when": "notebookCellHasOutputs"
130
},
131
{
132
"command": "notebook.cellOutput.openInTextEditor",
133
"when": "false"
134
}
135
],
136
"webview/context": [
137
{
138
"command": "notebook.cellOutput.copy",
139
"when": "webviewId == 'notebook.output' && webviewSection == 'image'",
140
"group": "context@1"
141
},
142
{
143
"command": "notebook.cellOutput.copy",
144
"when": "webviewId == 'notebook.output' && webviewSection == 'text'"
145
},
146
{
147
"command": "notebook.cellOutput.addToChat",
148
"when": "webviewId == 'notebook.output' && (webviewSection == 'text' || webviewSection == 'image')",
149
"group": "context@2"
150
},
151
{
152
"command": "notebook.cellOutput.openInTextEditor",
153
"when": "webviewId == 'notebook.output' && webviewSection == 'text'"
154
}
155
]
156
}
157
},
158
"scripts": {
159
"compile": "npx gulp compile-extension:ipynb && npm run build-notebook",
160
"watch": "npx gulp watch-extension:ipynb",
161
"build-notebook": "node ./esbuild.mjs"
162
},
163
"dependencies": {
164
"@enonic/fnv-plus": "^1.3.0",
165
"detect-indent": "^6.0.0"
166
},
167
"devDependencies": {
168
"@jupyterlab/nbformat": "^3.2.9",
169
"@types/markdown-it": "12.2.3"
170
},
171
"repository": {
172
"type": "git",
173
"url": "https://github.com/microsoft/vscode.git"
174
}
175
}
176
177