-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 1.89 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 1.89 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
{
"name": "cgo",
"displayName": "CGO",
"version": "1.0.2",
"description": "C tooling for cgo preambles in Go files.",
"categories": [
"Programming Languages",
"Other"
],
"keywords": [
"go",
"cgo",
"c",
"clangd",
"vscode"
],
"homepage": "https://github.com/arcmantle/vscode-cgo",
"bugs": {
"url": "https://github.com/arcmantle/vscode-cgo/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/arcmantle/vscode-cgo.git"
},
"license": "SEE LICENSE IN LICENSE.txt",
"publisher": "arcmantle",
"main": "./out/extension.js",
"scripts": {
"build": "pnpm run build:backend && tsc -p ./",
"build:backend": "node ./scripts/build-backend.mjs current",
"build:backend:matrix": "node ./scripts/build-backend.mjs matrix",
"build:extension": "tsc -p ./",
"check": "tsc -p ./ --noEmit",
"package:vsix": "pnpm run build:backend:matrix && pnpm run build:extension && pnpm dlx @vscode/vsce package",
"watch": "tsc -p ./ --watch"
},
"contributes": {
"commands": [
{
"command": "cgo.openExtractedC",
"title": "CGO: Open Extracted C"
},
{
"command": "cgo.showDetectedBlocks",
"title": "CGO: Show Detected Blocks"
}
],
"configuration": {
"title": "CGO",
"properties": {
"cgo.backendPath": {
"type": "string",
"default": "",
"description": "Optional absolute path to a CGO backend executable. When empty, the bundled backend is used if available."
},
"cgo.goExecutable": {
"type": "string",
"default": "go",
"description": "Executable used for fallback go run execution when no bundled CGO backend binary is available."
}
}
}
},
"activationEvents": [
"onLanguage:go"
],
"devDependencies": {
"@types/node": "^24.0.0",
"@types/vscode": "^1.98.0",
"typescript": "^5.8.3"
},
"engines": {
"vscode": "^1.98.0"
}
}