-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
174 lines (174 loc) · 4.74 KB
/
package.json
File metadata and controls
174 lines (174 loc) · 4.74 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
167
168
169
170
171
172
173
174
{
"name": "geant4-macro-extension",
"displayName": "Geant4 Macro Extension",
"description": "Syntax highlighting and auto-complete for Geant4 macro files",
"version": "0.4.1",
"icon": "images/icon.png",
"publisher": "Jjarchie",
"engines": {
"vscode": "^1.92.0"
},
"categories": [
"Programming Languages"
],
"contributes": {
"languages": [
{
"id": "g4macro",
"aliases": [
"Geant4 Macro",
"g4macro"
],
"extensions": [
".mac"
],
"configuration": "./language-configuration.json",
"icon": {
"dark": "./images/geant4_logo_dark.svg",
"light": "./images/geant4_logo_light.svg"
}
}
],
"grammars": [
{
"language": "g4macro",
"scopeName": "source.g4macro",
"path": "./syntaxes/g4macro.tmLanguage.json"
}
],
"commands": [
{
"command": "geant4-macro-extension.addCommandFile",
"title": "Geant4 Macro: Add Command File..."
},
{
"command": "geant4-macro-extension.refreshCommands",
"title": "Geant4 Macro: Refresh Commands",
"icon": "$(refresh)"
},
{
"command": "geant4-macro-extension.removeCommandFile",
"title": "Geant4 Macro: Remove Commands..."
},
{
"command": "geant4-macro-extension.addCommand",
"title": "Geant4 Macro: Add command...",
"icon": "$(add)"
},
{
"command": "geant4-macro-extension.searchTree",
"title": "Geant4 Macro: Search commands...",
"icon": "$(search)"
},
{
"command": "geant4-macro-extension.insertCommand",
"title": "Geant4 Macro: Insert command...",
"icon": "$(arrow-right)"
}
],
"configuration": {
"title": "Geant4 Macro Extension",
"properties": {
"geant4-macro-extension.commandFiles": {
"type": "array",
"description": "List of command files to use for auto-complete",
"default": [],
"items": {
"type": "string"
}
},
"geant4-macro-extension.additionalCommands": {
"type": "array",
"description": "List of additional commands to use for auto-complete",
"default": [],
"items": {
"type": "string"
}
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "geant4-macro-bar",
"title": "Geant4 Macro",
"icon": "images/geant4_logo_monochrome.svg",
"when": "geant4-macro-extension:enableFullFeatureSet"
}
]
},
"views": {
"geant4-macro-bar": [
{
"id": "geant4-macro-explorer",
"name": "Command Explorer",
"when": "geant4-macro-extension:enableFullFeatureSet"
},
{
"type": "webview",
"id": "geant4-macro-active-command",
"name": "Command",
"when": "geant4-macro-extension:enableFullFeatureSet"
}
]
},
"menus": {
"view/title": [
{
"command": "geant4-macro-extension.searchTree",
"when": "view == geant4-macro-explorer && geant4-macro-extension:enableFullFeatureSet",
"group": "navigation"
},
{
"command": "geant4-macro-extension.addCommand",
"when": "view == geant4-macro-explorer && geant4-macro-extension:enableFullFeatureSet",
"group": "navigation"
},
{
"command": "geant4-macro-extension.refreshCommands",
"when": "view == geant4-macro-explorer && geant4-macro-extension:enableFullFeatureSet",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "geant4-macro-extension.insertCommand",
"when": "view == geant4-macro-explorer && viewItem == commandTreeItemNotDir",
"group": "inline"
}
]
}
},
"activationEvents": [],
"main": "./out/extension.js",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint \"src/**/*.ts\"",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "^18",
"@types/vscode": "^1.73.0",
"@typescript-eslint/eslint-plugin": "^7.14.0",
"@typescript-eslint/parser": "^7.14.0",
"eslint": "^8.26.0",
"typescript": "^5.5.4"
},
"repository": {
"type": "git",
"url": "https://github.com/Jjarchie/geant4-macro-extension"
},
"bugs": {
"url": "https://github.com/Jjarchie/geant4-macro-extension/issues"
},
"homepage": "https://github.com/Jjarchie/geant4-macro-extension#readme",
"keywords": [
"geant4",
"macro",
"extension",
"syntax",
"highlighting",
"autocomplete"
]
}