-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
293 lines (293 loc) · 10.7 KB
/
Copy pathpackage.json
File metadata and controls
293 lines (293 loc) · 10.7 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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
{
"name": "lammps",
"displayName": "Lammps Syntax Highlighting",
"keywords": [
"Lammps",
"Molecular Dynamics"
],
"icon": "imgs/logo.png",
"description": "Keyword/Syntax highlighting extension for Molecular Dynamics Software LAMMPS",
"version": "1.10.6",
"license": "GPL-2.0-or-later",
"publisher": "ThFriedrich",
"sponsor": {
"url": "https://plant.treeware.earth/thfriedrich/lammps_vscode"
},
"repository": {
"type": "git",
"url": "https://github.com/ThFriedrich/lammps_vscode"
},
"engines": {
"vscode": "^1.110.0"
},
"categories": [
"Programming Languages"
],
"main": "./dist/extension.js",
"contributes": {
"languages": [
{
"id": "lmps",
"aliases": [
"Lammps",
"lmps"
],
"filenamePatterns": [
"in.*"
],
"extensions": [
".lmp",
".lmps",
".lammps"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "imgs/logo2.png",
"dark": "imgs/logo2.png"
}
}
],
"snippets": [
{
"language": "lmps",
"path": "./snippets/lmps.json"
},
{
"language": "json",
"path": "./snippets/tasks.code-snippets"
},
{
"language": "jsonc",
"path": "./snippets/tasks.code-snippets"
}
],
"grammars": [
{
"language": "lmps",
"scopeName": "source.lmps",
"path": "./syntaxes/lmps.tmLanguage.json"
},
{
"scopeName": "markdown.lmps.codeblock",
"path": "./syntaxes/codeblock.json",
"injectTo": [
"text.html.markdown"
],
"embeddedLanguages": {
"meta.embedded.block.lammps": "lmps"
}
}
],
"commands": [
{
"command": "extension.show_docs",
"title": "Show Documentation for this Command"
},
{
"command": "extension.show_dash",
"title": "Open Lammps Simulation Dashboard",
"icon": {
"light": "./imgs/logo_sq_l.gif",
"dark": "./imgs/logo_sq_d.gif"
}
}
],
"menus": {
"editor/context": [
{
"command": "extension.show_docs",
"when": "editorLangId == lmps&&commandOnCursor",
"group": "navigation"
}
],
"editor/title": [
{
"when": "resourceLangId == lmps",
"command": "extension.show_dash",
"group": "navigation"
}
]
},
"configuration": {
"title": "Lammps",
"properties": {
"lammps.Hover.Detail": {
"type": "string",
"description": "Control the length of the displayed description in the hover popup.",
"default": "Short",
"enum": [
"Short",
"Complete"
],
"enumDescriptions": [
"Hover shows only a short description of the command",
"Hover shows the full description of the command"
]
},
"lammps.Hover.Enabled": {
"type": "boolean",
"default": "true",
"description": "Display command information in a popup when hovering the mouse over a recognised command or syntax."
},
"lammps.Hover.Examples": {
"type": "boolean",
"default": "true",
"description": "Display command examples in the hover popup."
},
"lammps.Hover.Restrictions": {
"type": "boolean",
"default": "false",
"description": "Display command restrictions in the hover popup."
},
"lammps.AutoComplete.Setting": {
"type": "string",
"default": "Medium",
"enum": [
"None",
"Minimal",
"Medium",
"Extensive"
],
"markdownEnumDescriptions": [
"Autocomplete is completely disabled",
"This option is intended to be used with collapsed Information pane, Autocomplete provides a label indicating the syntax in this case. ( \n [See an example...](https://user-images.githubusercontent.com/45487966/79160252-c386fb80-7dd9-11ea-8c26-8daac5acae60.png)",
"Autocomplete-Info Panel shows a description of the parameters",
"Autocomplete-Info Panel shows a description of the parameters and a short description of the command"
],
"markdownDescription": "This option controls the behaviour of the autocompletion feature. This setting may influence the performance of the feature."
},
"lammps.tasks.binary": {
"type": "string",
"default": "/bin/lmp",
"description": "Path to the Lammps executable"
},
"lammps.tasks.mpiexec_path": {
"type": "string",
"default": "mpiexec",
"description": "Path to the mpiexec executable"
},
"lammps.tasks.mpi_tasks": {
"type": "integer",
"default": 4,
"description": "Number of tasks to run with MPI"
},
"lammps.tasks.gpu_nodes": {
"type": "integer",
"default": 1,
"description": "GPU nodes to use"
},
"lammps.tasks.omp_threads": {
"type": "integer",
"default": 1,
"description": "Number of OMP Threads"
}
}
},
"taskDefinitions": [
{
"type": "lmps",
"required": [
"label"
],
"properties": {
"label": {
"type": "string",
"description": "The task's label used in the user interface"
},
"binary": {
"type": "string",
"description": "Path to the LAMMPS executable",
"examples": [
"lmp",
"lmp_mpi",
"/usr/local/bin/lmp",
"lmp_intel_cpu_intelmpi"
]
},
"mpiexec_path": {
"type": "string",
"description": "Path to the MPI executable (required for MPI runs)",
"examples": [
"mpiexec",
"mpirun",
"srun"
]
},
"mpi_tasks": {
"type": "integer",
"description": "Number of MPI tasks/processes (0 = no MPI)",
"default": 0,
"minimum": 0
},
"gpu_nodes": {
"type": "integer",
"description": "Number of GPU nodes (0 = no GPU acceleration)",
"default": 0,
"minimum": 0
},
"omp_threads": {
"type": "integer",
"description": "Number of OpenMP threads per MPI task (0 = no OpenMP)",
"default": 0,
"minimum": 0
},
"args": {
"type": "string",
"description": "Additional command line arguments",
"examples": [
"-skiprun",
"-log custom.log",
"-screen none",
"-var temp 300"
]
}
},
"when": "resourceLangId == lmps"
}
]
},
"scripts": {
"compile": "cpx \"src/**/*.js\" dist && tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test:docs": "node tools/test_doc_pipeline.js",
"test:docs:all": "node tools/test_doc_pipeline.js --max 0",
"vscode:prepublish": "rm dist/* ; webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"test-compile": "tsc -p ./"
},
"devDependencies": {
"@larscom/cpx": "^2.1.0",
"@types/mocha": "^10.0.10",
"@types/node": "^25.5.2",
"@types/vscode": "^1.110.0",
"@typescript-eslint/eslint-plugin": "^8.58.0",
"@typescript-eslint/parser": "^8.58.0",
"@vscode/vsce": "^3.9.2",
"acorn": "^8.16.0",
"copy-webpack-plugin": "^14.0.0",
"eslint": "^10.2.0",
"glob": "^13.0.6",
"mocha": "^12.0.0",
"npm-check-updates": "^20.0.0",
"ts-loader": "^9.5.7",
"typescript": "^6.0.2",
"webpack": "^5.105.4",
"webpack-cli": "^7.0.2"
},
"dependencies": {
"@quik-fe/node-nvidia-smi": "^1.0.2",
"cpu-stats": "^1.0.0",
"markdown-it": "^14.2.0",
"mathjax-full": "^3.2.1",
"node-os-utils": "^1.3.7",
"plist": "^3.1.0",
"plotly.js-dist-min": "^2.35.0",
"vscode-oniguruma": "^2.0.1",
"vscode-textmate": "^9.1.0"
},
"homepage": "https://github.com/ThFriedrich/lammps_vscode#readme",
"author": "Thomas Friedrich"
}