-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
162 lines (162 loc) · 4.26 KB
/
Copy pathpackage.json
File metadata and controls
162 lines (162 loc) · 4.26 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
{
"name": "pestd3code",
"displayName": "PestD3code",
"description": "Enhance readability and usability of PEST control files for MODFLOW with structured decorators, hover support, and interactive features.",
"publisher": "DanielLopezMella",
"icon": "images/icon.png",
"version": "0.1.7",
"engines": {
"vscode": "^1.84.0"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/danilopezmella/pestd3code.git"
},
"activationEvents": [
"workspaceContains:**/*.{pst,pest}",
"onLanguage:pest",
"onStartupFinished",
"onLanguage:bat",
"onLanguage:shellscript"
],
"main": "./out/extension.js",
"contributes": {
"configurationDefaults": {
"[pst]": {
"editor.showFoldingControls": "always",
"editor.guides.indentation": true
}
},
"configuration": {
"type": "object",
"title": "PestD3Code",
"properties": {
"pestd3code.pestcheckPath": {
"type": "string",
"default": "",
"description": "Path to the Pestchek. Use the 'Try to autoset Pestcheck' or 'Set Pestcheck Path Manually' commands to browse for the file."
},
"pestd3code.skipWarnings": {
"type": "boolean",
"default": false,
"description": "Skip warnings and template/instruction/coverage matrix file checking (/s flag)"
}
}
},
"commands": [
{
"command": "pestd3code.activate",
"title": "Activate PestD3code"
},
{
"command": "extension.openManual",
"title": "Open PEST++ Manual"
},
{
"command": "pestd3code.findPestCheck",
"title": "Try to autoset Pestcheck",
"category": "PestD3code"
},
{
"command": "pestd3code.setPestcheckPath",
"title": "Set Pestcheck Path Manually",
"category": "PestD3code"
},
{
"command": "pestd3code.runPestCheck",
"title": "Run Pestcheck",
"category": "PestD3code",
"icon": "$(run)"
},
{
"command": "pestd3code.clearDiagnostics",
"title": "Clear Pestcheck Diagnostics",
"category": "PestD3code",
"icon": "$(trash)"
}
],
"menus": {
"editor/title": [
{
"command": "pestd3code.runPestCheck",
"group": "navigation@1",
"when": "resourceExtname == .pst"
},
{
"command": "pestd3code.clearDiagnostics",
"group": "navigation@2",
"when": "resourceExtname == .pst || rawOutputViewActive"
}
],
"view/item/context": [
{
"command": "pestd3code.clearDiagnostics",
"when": "view == problems",
"group": "navigation"
}
],
"view/title": [
{
"command": "pestd3code.clearDiagnostics",
"when": "view == problems",
"group": "navigation"
}
]
},
"languages": [
{
"id": "pst",
"extensions": [
".pst"
],
"aliases": [
"PEST File"
],
"configuration": "./syntaxes/pst-language-configuration.json"
}
],
"grammars": [
{
"language": "pst",
"scopeName": "source.pst",
"path": "./syntaxes/pst.tmLanguage.json"
}
],
"keybindings": [
{
"command": "pestd3code.runPestCheck",
"key": "ctrl+shift+r",
"when": "editorTextFocus && editorLangId == 'pst'"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"build": "npm run vscode:prepublish",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test",
"package": "npx @vscode/vsce package",
"publish": "npx @vscode/vsce publish"
},
"devDependencies": {
"@types/mocha": "^10.0.9",
"@types/node": "20.x",
"@types/vscode": "^1.84.0",
"@typescript-eslint/eslint-plugin": "^8.10.0",
"@typescript-eslint/parser": "^8.7.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^3.2.1",
"eslint": "^9.13.0",
"typescript": "^5.6.3"
},
"dependencies": {
"csv-parse": "^5.6.0"
}
}