-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
166 lines (166 loc) · 6.98 KB
/
package.json
File metadata and controls
166 lines (166 loc) · 6.98 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"name": "cleats-python-launchpad",
"displayName": "Cleats: Python Launchpad",
"description": "Run and debug the current or last Python file with minimal setup.",
"version": "0.1.4",
"publisher": "coells",
"author": "Tomas Bouda",
"license": "MIT",
"homepage": "https://github.com/coells/cleats-python-launchpad",
"repository": {
"type": "git",
"url": "https://github.com/coells/cleats-python-launchpad"
},
"bugs": {
"url": "https://github.com/coells/cleats-python-launchpad/issues"
},
"type": "module",
"main": "./out/src/extension.js",
"engines": {
"vscode": "^1.105.0"
},
"icon": "media/icon.png",
"categories": [
"Debuggers",
"Other"
],
"keywords": [
"python",
"run",
"debug",
"launch",
"productivity"
],
"extensionDependencies": [
"ms-python.python"
],
"contributes": {
"commands": [
{
"command": "cleatsPythonLaunchpad.debugCurrentFile",
"title": "Cleats: Python Launchpad - Debug Current File"
},
{
"command": "cleatsPythonLaunchpad.runCurrentFile",
"title": "Cleats: Python Launchpad - Run Current File"
},
{
"command": "cleatsPythonLaunchpad.debugLastFile",
"title": "Cleats: Python Launchpad - Debug Last File"
},
{
"command": "cleatsPythonLaunchpad.runLastFile",
"title": "Cleats: Python Launchpad - Run Last File"
},
{
"command": "cleatsPythonLaunchpad.removeManagedTargetConfigurations",
"title": "Cleats: Python Launchpad - Remove Managed Target Configurations"
}
],
"keybindings": [
{
"command": "cleatsPythonLaunchpad.debugCurrentFile",
"key": "ctrl+shift+f9",
"mac": "ctrl+shift+f9",
"when": "editorTextFocus"
},
{
"command": "cleatsPythonLaunchpad.runCurrentFile",
"key": "ctrl+shift+f10",
"mac": "ctrl+shift+f10",
"when": "editorTextFocus"
},
{
"command": "cleatsPythonLaunchpad.debugLastFile",
"key": "ctrl+f9",
"mac": "ctrl+f9"
},
{
"command": "cleatsPythonLaunchpad.runLastFile",
"key": "ctrl+f10",
"mac": "ctrl+f10"
}
],
"configuration": {
"title": "Cleats: Python Launchpad",
"properties": {
"cleatsPythonLaunchpad.generatedLaunchNamePrefix": {
"type": "string",
"default": "Launchpad",
"description": "Prefix used for launch.json entries managed by Cleats: Python Launchpad."
},
"cleatsPythonLaunchpad.runCommandTemplate": {
"type": "string",
"default": "python {script}",
"description": "Command template for running script targets. Supports placeholders such as {script}, {workspaceFolder}, {fileDirname}, and {fileBasename}."
},
"cleatsPythonLaunchpad.testCommandTemplate": {
"type": "string",
"default": "python -m pytest {testTarget}",
"description": "Command template for running test targets. Supports placeholders such as {testTarget}, {testFunction}, {workspaceFolder}, and {fileDirname}."
},
"cleatsPythonLaunchpad.launchJsonPath": {
"type": "string",
"description": "Optional path to the launch.json file Cleats should manage in multi-root workspaces. You can provide an absolute path to launch.json or a folder path (which maps to <folder>/.vscode/launch.json). Empty means use the Python file's own workspace folder."
},
"cleatsPythonLaunchpad.managedTargetConfigurationLimit": {
"type": "number",
"minimum": 1,
"default": 20,
"description": "Maximum number of managed Launchpad target configurations to keep in launch.json per workspace folder. When exceeded, the oldest managed targets are removed while preserving user-managed configurations."
},
"cleatsPythonLaunchpad.launchConfigurationTemplate": {
"type": "object",
"default": {},
"description": "JSON object used as a base template for managed launch configurations. Any provided keys override Launchpad defaults while preserving managed naming and grouping."
},
"cleatsPythonLaunchpad.executeDialogEnabled": {
"type": "boolean",
"default": true,
"description": "When enabled, first execution of an unmanaged Python target shows a setup dialog before creating its managed launch configuration."
},
"cleatsPythonLaunchpad.runOpenNewTerminalIfBusy": {
"type": "boolean",
"default": true,
"description": "When enabled, run commands open a new terminal if another Cleats run is still active."
},
"cleatsPythonLaunchpad.debugOpenNewTerminalIfBusy": {
"type": "boolean",
"default": true,
"description": "When enabled, debug commands try to open a separate terminal session if a matching Cleats debug target is already active."
},
"cleatsPythonLaunchpad.terminalReveal": {
"type": "string",
"enum": [
"always",
"silent",
"never"
],
"default": "always",
"description": "Controls when the integrated terminal is revealed for run commands."
}
}
}
},
"scripts": {
"clean": "rimraf out",
"vscode:prepublish": "npm run compile",
"compile": "npm run clean && tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint src test --ext .ts",
"test": "npm run compile && node --test out/test/suite/**/*.test.js",
"ci": "npm run lint && npm run test",
"package": "vsce package --no-dependencies --allow-missing-repository"
},
"devDependencies": {
"@eslint/js": "^9.38.0",
"@types/node": "^22.17.1",
"@types/vscode": "^1.105.0",
"@typescript-eslint/eslint-plugin": "^8.46.2",
"@typescript-eslint/parser": "^8.46.2",
"@vscode/vsce": "^3.6.0",
"eslint": "^9.38.0",
"rimraf": "^6.0.1",
"typescript": "^5.9.3"
}
}