-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
153 lines (153 loc) · 4.3 KB
/
Copy pathpackage.json
File metadata and controls
153 lines (153 loc) · 4.3 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
{
"name": "pgx-quickstart",
"displayName": "PGX Quickstart",
"description": "Deterministic Pointer Geometry compiler core and VS Code language tooling.",
"version": "0.0.2",
"publisher": "local",
"private": true,
"license": "PolyForm-Noncommercial-1.0.0",
"repository": {
"type": "git",
"url": "https://github.com/jacksenpierce/pgx-pointer-geometry.git"
},
"keywords": [
"pgx",
"pointer-geometry",
"graph",
"language-tooling",
"vscode-extension"
],
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:pgx",
"onCommand:pgx.convertSelectionToTraversal",
"onCommand:pgx.convertTraversalToTitles",
"onCommand:pgx.showTraversalStructure",
"onCommand:pgx.showTraversalMiniView",
"onCommand:pgx.toggleTraversalCodeLens"
],
"main": "./extension.js",
"contributes": {
"languages": [
{
"id": "pgx",
"aliases": [
"PGX",
"pgx"
],
"extensions": [
".pgx"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "pgx",
"scopeName": "source.pgx",
"path": "./syntaxes/pgx.tmLanguage.json"
}
],
"commands": [
{
"command": "pgx.convertSelectionToTraversal",
"title": "Convert Selection to Traversal",
"category": "PGX"
},
{
"command": "pgx.convertTraversalToTitles",
"title": "Convert Traversal to Direct Title Projection",
"category": "PGX"
},
{
"command": "pgx.showTraversalStructure",
"title": "Peek Traversal Structure",
"category": "PGX",
"icon": "$(list-tree)"
},
{
"command": "pgx.showTraversalMiniView",
"title": "Open Traversal Mini View",
"category": "PGX",
"icon": "$(type-hierarchy)"
},
{
"command": "pgx.toggleTraversalCodeLens",
"title": "Toggle Traversal Action Hints",
"category": "PGX",
"icon": "$(eye)"
}
],
"views": {
"explorer": [
{
"id": "pgxTraversalStructure",
"name": "PGX Traversal Structure",
"when": "resourceLangId == pgx"
}
]
},
"viewsWelcome": [
{
"view": "pgxTraversalStructure",
"contents": "Place the cursor inside a traversal, then [open its structure](command:pgx.showTraversalStructure)."
}
],
"menus": {
"editor/context": [
{
"command": "pgx.convertSelectionToTraversal",
"when": "editorLangId == pgx && editorHasSelection",
"group": "1_modification"
},
{
"command": "pgx.convertTraversalToTitles",
"when": "editorLangId == pgx && editorHasSelection",
"group": "1_modification"
},
{
"command": "pgx.showTraversalStructure",
"when": "editorLangId == pgx",
"group": "navigation"
},
{
"command": "pgx.showTraversalMiniView",
"when": "editorLangId == pgx",
"group": "navigation"
}
],
"editor/title": [
{
"command": "pgx.toggleTraversalCodeLens",
"when": "editorLangId == pgx",
"group": "navigation@9"
}
]
},
"configuration": {
"title": "PGX Quickstart",
"properties": {
"pgx.profileFile": {
"type": "string",
"default": "pgx-profile.json",
"description": "Workspace-relative path to the deterministic PGX completion profile."
},
"pgx.traversalCodeLens.enabled": {
"type": "boolean",
"default": false,
"scope": "resource",
"description": "Show PGX traversal action hints above traversal-valued nodes. Hidden by default; toggle quickly with the eye button in the editor title."
}
}
}
},
"scripts": {
"check": "node --check extension.js && node --check pgx-core/syntax.js && node --check pgx-core/compilation.js && node --check pgx-core/geometry.js && node --check pgx-core/projection.js && node --check pgx-core/structure.js && node --check scripts/stress-check.js && node scripts/core-check.js",
"stress": "node scripts/stress-check.js"
}
}