-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 3.14 KB
/
package.json
File metadata and controls
117 lines (117 loc) · 3.14 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
{
"name": "better-regions-python-interactive",
"displayName": "Better Regions for Python Interactive",
"version": "0.0.1",
"publisher": "vsuguimoto",
"description": "Highlights Python code regions with colored backgrounds and provides a tree view for navigation",
"icon": "./logo.png",
"repository": {
"type": "git",
"url": "https://github.com/vsuguimoto/better-regions-python-interactive.git"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"main": "./out/extension.js",
"activationEvents": [
"onLanguage:python",
"onView:regionExplorer"
],
"contributes": {
"views": {
"explorer": [
{
"id": "regionExplorer",
"name": "Region Explorer"
}
]
},
"commands": [
{
"command": "regionExplorer.refresh",
"title": "Refresh Regions",
"icon": "$(refresh)"
},
{
"command": "regionExplorer.runInInteractive",
"title": "Run in Python Interactive",
"icon": "$(play)"
},
{
"command": "regionExplorer.revealInEditor",
"title": "Reveal in Editor"
}
],
"menus": {
"view/title": [
{
"command": "regionExplorer.refresh",
"when": "view == regionExplorer",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "regionExplorer.runInInteractive",
"when": "view == regionExplorer && viewItem == regionItem",
"group": "inline"
},
{
"command": "regionExplorer.runInInteractive",
"when": "view == regionExplorer && viewItem == regionItem"
},
{
"command": "regionExplorer.revealInEditor",
"when": "view == regionExplorer && viewItem == regionItem"
}
]
},
"configuration": {
"type": "object",
"title": "Region Background",
"properties": {
"regionBackground.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable region background highlighting"
},
"regionBackground.highlightOnlyLastRegion": {
"type": "boolean",
"default": false,
"description": "Only highlight the region containing the cursor"
},
"regionBackground.opacity": {
"type": "number",
"default": 0.15,
"description": "Background opacity (0.0-1.0)"
},
"regionBackground.saturation": {
"type": "number",
"default": 0.6,
"description": "Color saturation (0.0-1.0)"
},
"regionBackground.lightness": {
"type": "number",
"default": 0.85,
"description": "Base lightness (0.0-1.0)"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "npm run compile && node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.74.0",
"@types/mocha": "^10.0.6",
"@vscode/test-electron": "^2.3.8",
"mocha": "^10.2.0",
"typescript": "^5.0.0"
}
}