forked from Eugleo/magic-racket
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
232 lines (232 loc) · 6.43 KB
/
package.json
File metadata and controls
232 lines (232 loc) · 6.43 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
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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
{
"name": "magic-racket",
"displayName": "Magic Racket",
"description": "LSP support, REPL integration, and top notch syntax highlighting for the coolest of LISPs!",
"version": "0.5.5",
"activationEvents": [
"onCommand:magic-racket.loadFileInRepl",
"onCommand:magic-racket.runFile",
"onCommand:magic-racket.executeSelectionInRepl",
"onCommand:magic-racket.openRepl",
"onCommand:magic-racket.showOutputTerminal",
"onLanguage:racket"
],
"main": "./out/extension.js",
"galleryBanner": {
"color": "#405DA7",
"theme": "dark"
},
"icon": "images/icon.png",
"engines": {
"vscode": "^1.39.0"
},
"licence": "SEE LICENSE IN LICENSE",
"homepage": "https://github.com/Eugleo/magic-racket/",
"bugs": {
"url": "https://github.com/Eugleo/magic-racket/issues",
"email": "wybitul.evzen@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/Eugleo/magic-racket.git"
},
"categories": [
"Programming Languages"
],
"keywords": [
"racket",
"drracket",
"lisp",
"scheme",
"repl"
],
"publisher": "evzen-wybitul",
"author": {
"name": "Evžen Wybitul"
},
"contributes": {
"configurationDefaults": {
"[racket]": {
"editor.rulers": [
102
],
"editor.wordSeparators": "()[]{}\",'`;#|"
}
},
"languages": [
{
"id": "racket",
"aliases": [
"Racket",
"racket"
],
"extensions": [
".rkt"
],
"configuration": "language-configuration.json"
}
],
"grammars": [
{
"language": "racket",
"scopeName": "source.racket",
"path": "./syntaxes/racket.tmLanguage.json"
}
],
"configuration": {
"title": "Magic Racket",
"properties": {
"magic-racket.general.racketPath": {
"type": "string",
"default": "racket",
"markdownDescription": "Specifies the path to the `racket` executable, which is used to run the file and open the REPL."
},
"magic-racket.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
},
"magic-racket.outputTerminal.numberOfOutputTerminals": {
"type": "string",
"enum": [
"one",
"many"
],
"default": "one",
"enumDescriptions": [
"Runs every file in the same output terminal",
"Runs each file in its own output terminal"
]
},
"magic-racket.outputTerminal.sharedOutputTerminalTitle": {
"type": "string",
"default": "Racket Output",
"markdownDescription": "Specifies the title of the the shared output terminal."
},
"magic-racket.outputTerminal.outputTerminalTitle": {
"type": "string",
"default": "Output ($name)",
"markdownDescription": "Specifies the template string for the title of the file-specific output terminal. Substring `$name` will get replaced by the file name."
},
"magic-racket.repl.replTitle": {
"type": "string",
"default": "REPL ($name)",
"markdownDescription": "Specifies the template string for the title of racket REPLs. Substring `$name` will get replaced by the file name."
},
"magic-racket.lsp.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Enables language server support"
}
}
},
"commands": [
{
"command": "magic-racket.loadFileInRepl",
"title": "Racket: Load file in REPL",
"icon": {
"light": "images/repl-light.svg",
"dark": "images/repl-dark.svg"
}
},
{
"command": "magic-racket.runFile",
"title": "Racket: Run file in terminal",
"icon": {
"light": "images/run.svg",
"dark": "images/run.svg"
}
},
{
"command": "magic-racket.executeSelectionInRepl",
"title": "Racket: Execute selection in REPL"
},
{
"command": "magic-racket.openRepl",
"title": "Racket: Open the REPL for the current file"
},
{
"command": "magic-racket.showOutputTerminal",
"title": "Racket: Show the output terminal for the current file"
}
],
"menus": {
"editor/title": [
{
"when": "editorLangId == racket",
"command": "magic-racket.runFile",
"group": "navigation"
},
{
"when": "editorLangId == racket",
"command": "magic-racket.loadFileInRepl",
"group": "navigation"
}
],
"editor/context": [
{
"when": "resourceLangId == racket && editorHasSelection",
"command": "magic-racket.executeSelectionInRepl",
"group": "z_commands"
}
]
},
"keybindings": [
{
"command": "magic-racket.executeSelectionInRepl",
"key": "Alt+Enter",
"when": "resourceLangId == racket && editorHasSelection"
},
{
"key": "Alt+\\",
"mac": "Alt+\\",
"command": "editor.action.insertSnippet",
"when": "resourceLangId == racket && editorTextFocus",
"args": {
"langId": "racket",
"name": "lambda"
}
}
],
"snippets": [
{
"language": "racket",
"path": "./snippets/racket.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"@typescript-eslint/parser": "^2.29.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-prettier": "^3.1.3",
"glob": "^7.1.6",
"mocha": "^7.1.1",
"prettier": "^2.0.5",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
},
"dependencies": {
"@types/vscode": "^1.39.0",
"vscode-languageclient": "^6.1.3"
}
}