This repository has been archived by the owner on Jan 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
203 lines (203 loc) · 6.75 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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
{
"name": "gop",
"displayName": "goplus",
"description": "GoPlus",
"version": "0.7.8",
"engines": {
"vscode": "^1.46.0"
},
"publisher": "goplus",
"activationEvents": [
"onLanguage:gop",
"onLanguage:spx"
],
"license": "Apache-2.0",
"icon": "images/icon.png",
"main": "./dist/gopMain.js",
"categories": [
"Programming Languages",
"Themes",
"Formatters"
],
"repository": {
"type": "git",
"url": "https://github.com/gopcode/vscode-goplus"
},
"scripts": {
"vscode:prepublish": "npm run compile",
"bundle": "esbuild src/gopMain.ts --bundle --outdir=dist --external:vscode --format=cjs --platform=node",
"bundle-dev": "npm run bundle -- --sourcemap",
"bundle-watch": "npm run bundle -- --sourcemap --watch",
"compile": "npm run bundle",
"watch": "tsc -watch -p ./"
},
"contributes": {
"languages": [
{
"id": "gop",
"aliases": [
"goplus",
"gop"
],
"extensions": [
".gop"
],
"configuration": "./language-configuration.json"
},
{
"id": "spx",
"aliases": [
"goplus",
"gop",
"spx"
],
"extensions": [
".gmx",
".spx"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "gop",
"scopeName": "source.gop",
"path": "./syntaxes/gop.tmLanguage.json"
},
{
"language": "spx",
"scopeName": "source.spx",
"path": "./syntaxes/spx.tmLanguage.json"
}
],
"snippets": [
{
"language": "gop",
"path": "./snippets/goplus.json"
},
{
"language": "spx",
"path": "./snippets/spx.json"
}
],
"configurationDefaults": {
"[gop]": {
"editor.insertSpaces": false,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"[spx]": {
"editor.insertSpaces": false,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
}
},
"configuration": {
"type": "object",
"title": "GoPlus",
"properties": {
"goplus.formatTool": {
"type": "string",
"default": "gopfmt",
"description": "Pick 'gopfmt' to run on format.",
"scope": "resource",
"enum": [
"gopfmt"
]
},
"goplus.formatFlags": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Flags to pass to format tool (e.g. [\"-w\"])",
"scope": "resource"
},
"goplus.toolsEnvVars": {
"type": "object",
"default": {},
"description": "Environment variables that will passed to the processes that run the Go tools (e.g. CGO_CFLAGS)",
"scope": "resource"
},
"goplus.alternateTools": {
"type": "object",
"default": {},
"description": "Alternate tools or alternate paths for the same tools used by the Go extension. Provide either absolute path or the name of the binary in GOPATH/bin, GOROOT/bin or PATH. Useful when you want to use wrapper script for the Go tools or versioned tools from https://gopkg.in.",
"scope": "resource",
"properties": {
"gopfmt": {
"type": "string",
"default": "gopfmt",
"description": "Alternate tool to use instead of the gopfmt binary or alternate path to use for the gopfmt binary."
}
}
},
"goplus.docsTool": {
"type": "string",
"default": "godoc",
"description": "Pick 'godoc' or 'gogetdoc' to get documentation. Not applicable when using the language server.",
"scope": "resource",
"enum": [
"godoc"
]
},
"goplus.gocodeFlags": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"-builtin",
"-ignore-case"
],
"description": "Additional flags to pass to gocode. Not applicable when using the language server.",
"scope": "resource"
}
}
},
"commands": [
{
"command": "goplus.import.add",
"title": "GoPlus: Add Import",
"description": "Add an import declaration"
}
],
"iconThemes": [
{
"id": "vs-goplus",
"label": "GoPlus (Visual Studio Code)",
"path": "./fileicons/vs_goplus-icon-theme.json"
}
]
},
"dependencies": {
"vscode-debugadapter": "^1.40.0",
"vscode-debugprotocol": "^1.40.0",
"vscode-languageclient": "6.1.0",
"moment": "^2.24.0",
"semver": "^7.3.2",
"lodash": "^4.17.21",
"ansi-regex": ">=5.0.1",
"tree-kill": "file:third_party/tree-kill"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"@types/semver": "^7.1.0",
"@types/vscode": "^1.46.0",
"@typescript-eslint/eslint-plugin": "^3.0.0",
"@typescript-eslint/parser": "^3.0.0",
"esbuild": "^0.13.4",
"eslint": "^7.28.0",
"glob": "^7.1.6",
"mocha": "^9.1.2",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
}
}