-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
202 lines (202 loc) · 5.74 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
{
"name": "purescript-fast-ide-vscode",
"displayName": "Purescript fast IDE",
"description": "A fast IDE for purescript, using inbuilt purescript LSP",
"publisher": "OxfordAbstracts",
"version": "0.0.12",
"repository": {
"type": "git",
"url": "https://github.com/OxfordAbstracts/purescript-fast-ide-vscode.git"
},
"bugs": {
"url": "https://github.com/OxfordAbstracts/purescript-fast-ide-vscode/issues"
},
"homepage": "https://github.com/OxfordAbstracts/purescript-fast-ide-vscode",
"engines": {
"vscode": "^1.94.0"
},
"keywords": [
"purescript",
"purs",
"ide",
"lsp",
"fast"
],
"activationEvents": [
"onLanguage:purescript",
"workspaceContains:src/**/*.purs",
"workspaceContains:spago.yaml",
"workspaceContains:spago.dhall"
],
"categories": [
"Programming Languages"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "purescript",
"aliases": [
"Purescript",
"purescript"
],
"extensions": [
".purs"
]
}
],
"commands": [
{
"command": "purescript-lsp.build",
"title": "Purescript: Build"
},
{
"command": "purescript-lsp.clear-cache",
"title": "Purescript: clear all caches"
},
{
"command": "purescript-lsp.clear-cache:rebuilds",
"title": "Purescript: clear rebuild cache"
},
{
"command": "purescript-lsp.clear-cache:exports",
"title": "Purescript: clear export cache"
},
{
"command": "purescript-lsp.delete-output",
"title": "Purescript: Delete output"
},
{
"command": "purescript-lsp.index-fast",
"title": "Purescript: Index existing externs"
},
{
"command": "purescript-lsp.index-full",
"title": "Purescript: Index externs with full rebuild"
},
{
"command": "purescript-lsp.create-index-tables",
"title": "Purescript: Create index DB tables"
},
{
"command": "purescript-lsp.drop-index-tables",
"title": "Purescript: Drop index DB tables"
}
],
"configuration": {
"title": "Purescript LSP Client",
"properties": {
"purescript-lsp.formatter": {
"scope": "resource",
"type": "string",
"enum": [
"none",
"purty",
"purs-tidy",
"pose"
],
"markdownEnumDescriptions": [
"No formatting provision",
"Use purty. Must be installed - [instructions](https://gitlab.com/joneshf/purty#npm)",
"Use purs-tidy. Must be installed - [instructions](https://github.com/natefaubion/purescript-tidy)",
"Use pose (prettier plugin). Must be installed - [instructions](https://pose.rowtype.yoga/)"
],
"default": "purs-tidy",
"description": "Tool to use to for formatting. Must be installed and on PATH (or npm installed with addNpmPath set)"
},
"purescript-lsp.outputPath": {
"scope": "resource",
"type": "string",
"default": "./output",
"description": "Path to purs output directory"
},
"purescript-lsp.globs": {
"scope": "resource",
"type": "array",
"default": [
"src/**/*.purs",
".spago/**/*.purs"
],
"description": "Source file globs"
},
"purescript-lsp.logLevel": {
"scope": "resource",
"type": "string",
"enum": [
"all",
"debug",
"perf",
"info",
"warning",
"error",
"none"
],
"default": "warning"
},
"purescript-lsp.traceValue": {
"scope": "resource",
"type": "traceValue",
"default": null
},
"purescript-lsp.maxTypeLength": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Max length of types in autocomplete"
},
"purescript-lsp.maxCompletions": {
"scope": "resource",
"type": "number",
"default": 50,
"description": "Max number of completions to show"
},
"purescript-lsp.maxFilesInCache": {
"scope": "resource",
"type": "number",
"default": 16,
"description": "Max number of files to keep in memory cache"
},
"purescript-lsp-client.use-spago-sources": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Get the sources from spago. If false, will use the globs in purescript-lsp.globs"
},
"purescript-lsp-client.use-spago-output-path": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Get the output path from spago. If false, will use the outputPath in purescript-lsp.outputPath"
}
}
},
"breakpoints": [
{
"language": "purescript"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.8",
"@types/node": "20.x",
"@types/vscode": "^1.94.0",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"eslint": "^9.11.1",
"typescript": "^5.6.2"
},
"dependencies": {
"vscode-languageclient": "^9.0.1",
"yaml": "^2.6.0"
}
}