-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
189 lines (187 loc) · 6.71 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
{
"name": "bqn-language",
"displayName": "BQN language",
"description": "BQN array programming language support, backslash completion, snippets and code execution",
"publisher": "razetime",
"icon": "logo.png",
"version": "0.1.6",
"engines": {
"vscode": "^1.66.0"
},
"repository": {
"type": "git",
"url": "https://github.com/razetime/bqn-vscode"
},
"categories": [
"Snippets"
],
"activationEvents": [
"onLanguage:bqn"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "bqn",
"aliases": [
"BQN",
"bqn"
],
"extensions": [
".bqn"
],
"icon": {
"light": "./logo.png",
"dark": "./logo.png"
},
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "bqn",
"scopeName": "source.bqn",
"path": "./syntaxes/bqn.tmLanguage.json"
}
],
"snippets": [
{
"language": "bqn",
"path": "./snippets/snippets.code-snippets"
}
],
"configurationDefaults": {
"[bqn]": {
"editor.wordSeparators": "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?˜˘¨⁼⌜´˝•÷׬⎉⚇⍟◶⊘⎊⍎⍕⟨⟩√⋆⌽𝕨∊↑∧⊔⊏⊐←→↙𝕎⍷⍋⊑⊒⍳⊣⊢⍉𝕤↕𝕗𝕘⊸∘○⟜⋄↖𝕊𝔽𝔾«⌾»·˙⥊𝕩↓∨⌊≡∾≍≠𝕏⍒⌈≢≤≥⇐‿↩",
"editor.tabCompletion": "on",
"editor.unicodeHighlight.ambiguousCharacters": false
}
},
"commands": [
{
"command": "language-bqn.createTerminal",
"title": "BQN: Create BQN REPL"
},
{
"command": "language-bqn.loadScript",
"title": "BQN: Load Script"
},
{
"command": "language-bqn.clearImports",
"title": "BQN: Clear Imports"
},
{
"command": "language-bqn.clearImportsAndLoadScript",
"title": "BQN: Clear Imports and Load Script"
},
{
"command": "language-bqn.profileScript",
"title": "BQN: Profile Script"
},
{
"command": "language-bqn.executeSelection",
"title": "BQN: Execute Selection"
},
{
"command": "language-bqn.executeLine",
"title": "BQN: Execute Line"
},
{
"command": "language-bqn.executeLineAdvance",
"title": "BQN: Execute Line and Advance"
},
{
"command": "language-bqn.backslash",
"title": "BQN: Convert To Symbol"
}
],
"keybindings": [
{
"command": "language-bqn.backslash",
"key": "\\",
"when": "editorTextFocus && editorLangId == 'bqn' && config.bqn.enableBackslashCompletion"
},
{
"command": "language-bqn.loadScript",
"key": "ctrl+L",
"when": "editorTextFocus && editorLangId == 'bqn'"
},
{
"command": "language-bqn.clearImportsAndLoadScript",
"key": "ctrl+shift+L",
"when": "editorTextFocus && editorLangId == 'bqn'"
},
{
"command": "language-bqn.executeLine",
"key": "ctrl+shift+enter",
"when": "editorTextFocus && editorLangId == 'bqn'"
},
{
"command": "language-bqn.executeLineAdvance",
"key": "ctrl+enter",
"when": "editorTextFocus && editorLangId == 'bqn' && !editorHasSelection"
},
{
"command": "language-bqn.executeSelection",
"key": "ctrl+enter",
"when": "editorTextFocus && editorLangId == 'bqn' && editorHasSelection"
}
],
"configuration": {
"type": "object",
"title": "BQN configuration",
"properties": {
"bqn.executablePath": {
"type": "string",
"default": "bqn",
"description": "Name or full path of the BQN executable."
},
"bqn.saveBeforeLoadScript": {
"type": "boolean",
"default": false,
"description": "Save the file before loading it for \"Load Script\" and related commands."
},
"bqn.sendToNewReplDelay": {
"type": "number",
"default": 500,
"description": "Time in milliseconds to wait before sending text to a newly created BQN REPL. This works around a problem where input gets messed up when sent before BQN is ready."
},
"bqn.executableSupportsReplxx": {
"type": "boolean",
"default": true,
"description": "Whether `bqn.executablePath` is built with REPLXX support. If it is not, set this to false."
},
"bqn.pendingBackslashBackgroundColor": {
"type": "string",
"description": "Background color to use for the backslash when entering a symbol."
},
"bqn.enableHoverDocumentation": {
"type": "boolean",
"default": true,
"description": "Show documentation when hovering over BQN glyphs."
},
"bqn.enableBackslashCompletion": {
"type": "boolean",
"default": true,
"description": "Whether backslash completion is enabled or not."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint --fix src/**/*.ts",
"fmt": "prettier -w src/**/*.ts"
},
"devDependencies": {
"@types/node": "^18.11.17",
"@types/vscode": "^1.66.0",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"prettier": "^2.8.1",
"typescript": "^4.9.4"
}
}