-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
164 lines (164 loc) · 3.55 KB
/
package.json
File metadata and controls
164 lines (164 loc) · 3.55 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
{
"name": "ampl-vscode",
"displayName": "AMPL for VS Code",
"description": "AMPL language support for Visual Studio Code",
"version": "0.0.8",
"publisher": "johan-cho",
"author": {
"name": "Johan Cho"
},
"license": "SEE LICENSE IN LICENSE.txt",
"repository": {
"type": "git",
"url": "https://github.com/johan-cho/ampl-vscode"
},
"icon": "img/logo.png",
"engines": {
"vscode": "^1.96.0"
},
"categories": [
"Programming Languages",
"Snippets",
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "AMPL",
"properties": {
"ampl.pathToExecutable": {
"type": "string",
"scope": "machine",
"default": "",
"description": "Specifies the path to the AMPL command executable. By default, the extension will look for the executable in the system's PATH."
},
"ampl.useRelativePath": {
"type": "boolean",
"scope": "machine",
"default": true,
"description": "Whether to use a relative path to files when running in the console."
},
"ampl.exeArgs": {
"type": "array",
"scope": "machine",
"default": [],
"description": "an array of exe args to AMPL's executable when the console is opened."
}
}
},
"snippets": [
{
"language": "ampl",
"path": "./resources/snippets.json"
}
],
"keybindings": [
{
"command": "ampl.runFile",
"key": "ctrl+enter",
"mac": "cmd+enter",
"when": "editorTextFocus && editorLangId == 'ampl'"
}
],
"commands": [
{
"command": "ampl.openConsole",
"title": "AMPL: Open Console",
"icon": "$(terminal)"
},
{
"command": "ampl.runFile",
"title": "AMPL: Include File",
"icon": "$(play)",
"enablement": "editorLangId == ampl"
},
{
"command": "ampl.solve",
"title": "AMPL: Solve",
"icon": "$(play)",
"shortTitle": "Solve",
"enablement": "editorLangId == ampl"
},
{
"command": "ampl.reset",
"title": "AMPL: Reset",
"icon": "$(trash)",
"shortTitle": "Reset",
"enablement": "editorLangId == ampl"
}
],
"languages": [
{
"id": "ampl",
"aliases": [
"AMPL",
"ampl"
],
"extensions": [
".mod",
".dat",
".run"
],
"configuration": "./resources/language-configuration.json"
}
],
"grammars": [
{
"language": "ampl",
"scopeName": "source.ampl",
"path": "./resources/AMPL.tmLanguage.json"
}
],
"menus": {
"editor/context": [
{
"command": "ampl.runFile",
"title": "AMPL: Include File",
"when": "editorTextFocus && editorLangId == ampl"
}
],
"editor/title/run": [
{
"command": "ampl.runFile",
"group": "navigation",
"when": "editorLangId == ampl"
}
]
},
"terminal": {
"profiles": [
{
"id": "ampl.shell",
"title": "AMPL"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run update && npm run compile",
"update": "npm install && npm update",
"compile": "npx tsc -p ./ && node ./out/build.js",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js",
"deploy": "vsce publish --yarn"
},
"devDependencies": {
"@types/glob": "8.1.0",
"@types/mocha": "10.0.10",
"@types/node": "22.10.5",
"@types/vscode": "1.96.0",
"@typescript-eslint/eslint-plugin": "^8.19.0",
"@typescript-eslint/parser": "^8.19.0",
"eslint": "^9.17.0",
"glob": "11.0.0",
"path": "0.12.7",
"tslint": "6.1.3",
"typescript": "5.7.2",
"vsce": "^2.15.0",
"vscode-test": "1.6.1",
"yarn": "1.22.22"
}
}