-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
99 lines (99 loc) · 3.24 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "vscode-jupyter-python",
"displayName": "vscode-jupyter-python",
"description": "Run automatically-inferred Python code blocks in Jupyter.",
"version": "0.2.0",
"publisher": "kylebarron",
"repository": "https://github.com/kylebarron/vscode-jupyter-python",
"engines": {
"vscode": "^1.54.0"
},
"license": "MIT",
"categories": [
"Other"
],
"activationEvents": [
"onCommand:vscode-jupyter-python.run-inferred-block",
"onCommand:vscode-jupyter-python.run-inferred-block-and-move-down"
],
"main": "./out/extension",
"contributes": {
"commands": [
{
"command": "vscode-jupyter-python.run-inferred-block",
"title": "Jupyter Python: Run inferred code block"
},
{
"command": "vscode-jupyter-python.run-inferred-block-and-move-down",
"title": "Jupyter Python: Run inferred code block and move down"
}
],
"configuration": {
"title": "vscode-jupyter-python",
"properties": {
"vscode-jupyter-python.expandCodeList": {
"title": "Code to Expand",
"type": "array",
"items": {
"type": "string"
},
"default": [
"else",
"elif",
"except",
"finally",
"\\}",
"\\]",
"\\)"
],
"description": "This list is used to determine when code that is part of the same indentation level as the starting text should be included in the inferred block. You may define your own custom elements to modify the code to your preferred behaviour. In the default setting, else, elif, except, finally, as well as all closing braces are expanded on."
}
}
},
"keybindings": [
{
"command": "vscode-jupyter-python.run-inferred-block",
"key": "ctrl+enter",
"mac": "cmd+enter",
"when": "editorTextFocus && editorLangId == python && !findInputFocussed && !replaceInputFocussed && jupyter.ownsSelection && !notebookEditorFocused"
},
{
"command": "vscode-jupyter-python.run-inferred-block-and-move-down",
"key": "shift+enter",
"when": "editorTextFocus && editorLangId == python && !findInputFocussed && !replaceInputFocussed && jupyter.ownsSelection && !notebookEditorFocused"
}
]
},
"extensionDependencies": [
"ms-toolsai.jupyter"
],
"scripts": {
"compile": "tsc -p ./",
"download-api": "vscode-dts dev",
"lint": "eslint \"src/**/*.ts\"",
"postdownload-api": "vscode-dts main",
"postinstall": "npm run download-api",
"pretest": "npm run compile",
"test": "node ./out/test/run-test.js",
"unit-test": "npm run compile && mocha ./out/test/unit",
"vscode:prepublish": "npm run compile",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.6",
"@types/node": "^16.11.7",
"@types/vscode": "^1.54.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"@vscode/test-electron": "^1.6.1",
"eslint": "^8.26.0",
"glob": "^7.1.4",
"mocha": "^6.1.4",
"source-map-support": "^0.5.12",
"typescript": "^4.8.4",
"vscode-dts": "^0.3.2",
"yo": "^4.3.1"
},
"dependencies": {}
}