-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 4.58 KB
/
package.json
File metadata and controls
120 lines (120 loc) · 4.58 KB
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "python-smart-execute",
"displayName": "Python Smart Execute",
"description": "Send code selection to REPL. Includes decorators in selection and jumps to beginning next line.",
"publisher": "inwtlab",
"repository": {
"url": "https://github.com/inwtlab/python-smart-execute"
},
"icon": "inwt-logo-square.png",
"version": "26.2.0",
"license": "MIT",
"engines": {
"vscode": "^1.96.0"
},
"categories": [
"Programming Languages",
"Keymaps"
],
"activationEvents": [
"onLanguage:python"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Python Smart Execute",
"properties": {
"inwtlab.Python.Smart.Execute.smartExecute.engine": {
"description": "Send the code selection to a python REPL or jupyter ipython session.",
"type": "string",
"default": "python",
"enum": [
"python",
"jupyter"
],
"enumDescriptions": [
"Sends code selection to python REPL. Optionally starts a new REPL.",
"Sends code selection to jupyter ipython session. Optionally starts an interactive notebook."
]
},
"inwtlab.Python.Smart.Execute.smartExecute.blockSelect": {
"description": "Smart execute will auto-select code blocks for execution.",
"type": "boolean",
"default": true
},
"inwtlab.Python.Smart.Execute.smartExecute.step": {
"description": "Move the cursor to the next non empty line after executing code.",
"type": "boolean",
"default": true
},
"inwtlab.Python.Smart.Execute.smartExecute.delay": {
"description": "How long (in milliseconds) the selected code block will be highlighted in the editor before it is executed.",
"type": "number",
"default": 100
}
}
},
"commands": [
{
"command": "python-smart-execute.smartExecAndStep",
"title": "Python Smart Execute: Send selection to REPL and step."
},
{
"command": "python-smart-execute.debugExecAndStep",
"title": "Python Smart Execute: Send selection to debug console and step."
},
{
"command": "python-smart-execute.navigateToNextBlock",
"title": "Python Smart Execute: Navigate to next code block"
},
{
"command": "python-smart-execute.navigateToPreviousBlock",
"title": "Python Smart Execute: Navigate to previous code block"
}
],
"keybindings": [
{
"key": "ctrl+enter",
"command": "python-smart-execute.debugExecAndStep",
"when": "editorTextFocus && inDebugMode && !replaceInputFocussed && editorLangId == 'python'"
},
{
"key": "ctrl+enter",
"command": "python-smart-execute.smartExecAndStep",
"when": "editorTextFocus && !inDebugMode && !replaceInputFocussed && editorLangId == 'python'"
}
]
},
"extensionDependencies": [
"ms-python.python",
"ms-toolsai.jupyter"
],
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "node ./out/test/runTest.js",
"test:unit": "node ./out/test/runUnitTests.js",
"test:integration": "xvfb-run -a node ./out/test/runTest.js",
"coverage": "c8 --include=out/extension.js npm test"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.10",
"@types/node": "^20.19.30",
"@types/vscode": "^1.96.0",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"@vscode/test-electron": "^2.4.1",
"c8": "^10.1.3",
"eslint": "^9.39.2",
"glob": "^13.0.0",
"globals": "^17.2.0",
"mocha": "^11.7.5",
"typescript": "^5.7.0",
"typescript-eslint": "^8.54.0"
}
}