-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
185 lines (185 loc) · 6.17 KB
/
package.json
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
{
"name": "ahk-simple-ls",
"displayName": "AutoHotKey Simple Support",
"description": "Simple ahkls with advanced features.",
"version": "0.9.8",
"author": "helsmy",
"license": "LGPLv3.0",
"repository": {
"type": "git",
"url": "https://github.com/helsmy/vscode-autohotkey"
},
"bugs": {
"url": "https://github.com/helsmy/vscode-autohotkey/issues"
},
"publisher": "helsmy",
"categories": [
"Programming Languages"
],
"keywords": [
"ahk",
"autohotkey",
"AutoHotkey"
],
"icon": "icon.png",
"engines": {
"vscode": "^1.77.3"
},
"activationEvents": [
"onLanguage:ahk"
],
"main": "./client/out/extension",
"contributes": {
"languages": [
{
"id": "ahk",
"aliases": [
"AutoHotkey",
"autohotkey",
"ahk"
],
"extensions": [
".ahk"
],
"configuration": "./ahk.configuration.json"
}
],
"commands": [
{
"category": "AutoHotkey",
"command": "AutohotkeySS.runCurrentFile",
"title": "Run Current File",
"icon": "$(play)"
},
{
"category": "AutoHotkey",
"command": "AutohotkeySS.formatDocument",
"title": "Format Current File"
},
{
"category": "AutoHotkey",
"command": "AutohotkeySS.selectInterpreterCommand",
"title": "Select Default Interpreter"
}
],
"grammars": [
{
"language": "ahk",
"scopeName": "source.ahk",
"path": "./syntaxes/ahk.tmLanguage.json"
}
],
"snippets": [
{
"language": "ahk",
"path": "./snippets/ahk.json"
}
],
"configuration": {
"type": "object",
"title": "AutoHotKeySimpleSupport",
"properties": {
"ahk-simple-language-server.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
},
"ahk-simple-language-server.traceServer.level": {
"scope": "window",
"type": "string",
"enum": [
"error",
"info",
"veberse",
"off"
],
"default": "info",
"description": "Log level for language server.(In progress)"
},
"ahk-simple-language-server.sendError": {
"scope": "window",
"type": "boolean",
"default": false,
"description": "(Preview)Send errors to client or not. Only for debugging now"
},
"ahk-simple-language-server.documentLanguage": {
"scope": "application",
"type": "string",
"enum": [
"no",
"CN"
],
"default": "no",
"description": "Which language document(for built-in functions[not available now] and variables) to be used.'no' means no documents shown.(In progress)"
},
"ahk-simple-language-server.interpreterPath": {
"scope": "window",
"type": "string",
"default": "",
"description": "Autohotkey Interpreter path, Such as `C:\\Program Files\\AutoHotkey\\AutoHotkey.exe`"
},
"ahk-simple-language-server.v2CompatibleMode": {
"scope": "window",
"type": "boolean",
"default": false,
"description": "Make parser compatible with some v2 syntaxes."
}
}
},
"menus": {
"commandPalette": [
{
"command": "AutohotkeySS.runCurrentFile",
"when": "editorLangId == ahk"
},
{
"command": "AutohotkeySS.formatDocument",
"when": "editorLangId == ahk"
}
],
"editor/title/run": [
{
"command": "AutohotkeySS.runCurrentFile",
"group": "navigation@0",
"title": "%autoHotkey.command.AutohotkeySS.runCurrentFile.title%",
"when": "resourceLangId == ahk && !isInDiffEditor && !virtualWorkspace && shellExecutionSupported"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "gulp build",
"watch": "tsc -b -w",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"test": "mocha -u tdd ./server/out/test/**/*.test.js",
"publish": "vsce publish",
"package": "vsce package",
"syntaxGen": "gulp syntax_gen",
"devCompile": "gulp buildAllWithMap",
"gulp": "gulp",
"esbuild": "esbuild"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/gulp": "^4.0.17",
"@types/jsdom": "^21.1.6",
"@types/mocha": "^10.0.4",
"@types/node": "^12.12.0",
"@typescript-eslint/parser": "^5.2.0",
"esbuild": "^0.20.0",
"eslint": "^8.1.0",
"gulp": "^4.0.2",
"jsdom": "^24.0.0",
"mocha": "^10.2.0",
"node-html-parser": "^6.1.12",
"ts-node": "^10.9.2",
"typescript": "^4.9.5"
}
}