Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 3.98 KB
/
Copy pathpackage.json
File metadata and controls
108 lines (108 loc) · 3.98 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
{
"name": "gap-help",
"displayName": "GAP Help",
"description": "Search and read GAP documentation directly in VS Code, powered by the native GAP help system",
"version": "0.3.2",
"publisher": "flianlee",
"license": "SEE LICENSE IN LICENSE",
"author": "Songtai Li",
"icon": "icon/icon.png",
"categories": ["Education"],
"keywords": ["gap", "algebra", "group theory", "help", "documentation", "mathematics"],
"repository": {
"type": "git",
"url": "https://github.com/lstflian/gap-help"
},
"engines": {
"vscode": "^1.105.0"
},
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "gap-help.search",
"title": "Help in GAP",
"category": "GAP"
},
{
"command": "gap-help.rebuild",
"title": "Rebuild Help Index",
"category": "GAP"
},
{
"command": "gap-help.openReference",
"title": "Open GAP Reference Manual",
"category": "GAP"
}
],
"menus": {
"editor/context": [
{
"command": "gap-help.search",
"when": "resourceExtname == .g || resourceExtname == .gi || resourceExtname == .gd",
"group": "navigation"
},
{
"command": "gap-help.openReference",
"when": "resourceExtname == .g || resourceExtname == .gi || resourceExtname == .gd",
"group": "navigation"
}
]
},
"configuration": {
"title": "GAP Help",
"properties": {
"gap-help.gapPath": {
"type": "string",
"default": "",
"markdownDescription": "Path to GAP installation root (the folder containing `doc/` and `pkg/`). Examples:\n\nGAP installed via the `.exe` installer: `C:\\Program Files\\GAP-4.16.0\\runtime\\opt\\gap-4.16.0`\n\nGAP built from source: `/home/user/gap-4.16.0`"
},
"gap-help.searchMode": {
"type": "string",
"enum": [
"prefix",
"substring"
],
"default": "prefix",
"description": "Search mode: prefix (?topic) matches from the start of a word, substring (??topic) matches anywhere"
},
"gap-help.helpStyle": {
"type": "string",
"enum": [
"native"
],
"default": "native",
"description": "Help page rendering style. Currently only 'native' (GAP original look) is available."
},
"gap-help.docAppearance": {
"type": "string",
"enum": [
"system",
"dark",
"light"
],
"default": "system",
"description": "Appearance of GAP documentation pages: 'system' follows the VS Code theme, 'dark'/'light' force a mode for all manuals."
},
"gap-help.mathJax": {
"type": "boolean",
"default": true,
"description": "Render math in GAP documentation pages with MathJax. The [MathJax on/off] link inside the docs toggles this setting."
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -p ./",
"test": "npm run compile && node test/run-all.js"
},
"devDependencies": {
"@types/node": "^18.0.0",
"@types/vscode": "^1.105.0",
"typescript": "^5.0.0"
}
}