Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
236 lines (236 loc) · 6.68 KB
/
Copy pathpackage.json
File metadata and controls
236 lines (236 loc) · 6.68 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
233
234
235
236
{
"name": "vsc-r-console",
"displayName": "R Console for VS Code",
"description": "A lightweight R console for VS Code",
"version": "0.5.4",
"publisher": "RConsole",
"license": "SEE LICENSE IN LICENSE",
"icon": "images/Rlogo.png",
"galleryBanner": {
"color": "#2C6DB2",
"theme": "dark"
},
"repository": {
"type": "git",
"url": "https://github.com/Fred-Wu/vscode-R-console.git"
},
"bugs": {
"url": "https://github.com/Fred-Wu/vscode-R-console/issues"
},
"homepage": "https://github.com/Fred-Wu/vscode-R-console#readme",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Programming Languages"
],
"keywords": [
"r",
"rstats",
"console",
"terminal",
"statistics",
"data-science"
],
"activationEvents": [
"onStartupFinished",
"onLanguage:r",
"onLanguage:rmd"
],
"files": [
"dist/**",
"images/**",
"bundled/bin/**",
"resources/r/**",
"package.nls.json",
"README.md",
"CONTRIBUTING.md",
"CHANGELOG.md",
"LICENSE"
],
"main": "./dist/extension.js",
"capabilities": {
"untrustedWorkspaces": {
"supported": false,
"description": "%capabilities.untrustedWorkspaces.description%"
},
"virtualWorkspaces": {
"supported": false,
"description": "%capabilities.virtualWorkspaces.description%"
}
},
"contributes": {
"commands": [
{
"command": "r-console.createTerminal",
"title": "Create R Console",
"category": "R Console"
},
{
"command": "r-console.createTerminalSide",
"title": "Create R Console in Side Editor",
"category": "R Console"
},
{
"command": "r-console.managePersistentSessions",
"title": "Manage Persistent Sessions...",
"category": "R Console"
},
{
"command": "r-console.insertPipeOperator",
"title": "Insert Pipe Operator",
"category": "R Console"
},
{
"command": "r-console.triggerCompletion",
"title": "Show Completions",
"category": "R Console"
},
{
"command": "r-console.searchHistory",
"title": "Show Command History",
"category": "R Console"
},
{
"command": "r-console.clearHistory",
"title": "Delete All Command History",
"category": "R Console"
},
{
"command": "r-console.restoreDefaultName",
"title": "Restore Default Name",
"category": "R Console"
}
],
"menus": {
"editor/title/context": [
{
"command": "r-console.restoreDefaultName",
"when": "resourceScheme == vscode-terminal && rConsole.consoleActive",
"group": "1_modification"
}
],
"terminal/title/context": [
{
"command": "r-console.restoreDefaultName",
"when": "rConsole.consoleActive",
"group": "1_modification"
}
],
"commandPalette": [
{
"command": "r-console.triggerCompletion",
"when": "false"
},
{
"command": "r-console.restoreDefaultName",
"when": "false"
}
]
},
"keybindings": [
{
"command": "r-console.triggerCompletion",
"key": "f7",
"when": "terminalFocus && rConsole.consoleActive"
},
{
"command": "r-console.insertPipeOperator",
"key": "ctrl+alt+m",
"when": "terminalFocus && rConsole.consoleActive"
},
{
"command": "r-console.searchHistory",
"key": "f8",
"when": "terminalFocus && rConsole.consoleActive"
}
],
"configurationDefaults": {
"terminal.integrated.commandsToSkipShell": [
"r-console.insertPipeOperator",
"r-console.searchHistory"
]
},
"configuration": {
"title": "R Console",
"properties": {
"r.console.completionUI": {
"type": "string",
"enum": ["quickPick", "inline"],
"default": "quickPick",
"description": "Show completion suggestions in Quick Pick or directly in the terminal."
},
"r.console.inlineCompletion.trigger": {
"type": "string",
"enum": ["typing", "tab"],
"default": "tab",
"description": "Show inline completions while typing or only when Tab is pressed. Applies only when r.console.completionUI is inline; it does not affect Quick Pick."
},
"r.console.autoMatch": {
"type": "boolean",
"default": true,
"description": "Automatically insert matching brackets and quotes."
},
"r.console.tabSize": {
"type": "number",
"default": 2,
"description": "Number of spaces for indentation."
},
"r.console.pipeOperator": {
"type": "string",
"enum": [
"|>",
"%>%"
],
"default": "|>",
"description": "Pipe operator to insert for chain operations. The default keybinding is Ctrl+Alt+M."
},
"r.console.historyScope": {
"type": "string",
"enum": [
"workspace",
"global"
],
"default": "workspace",
"description": "Share command history within each workspace folder, or across workspaces with global scope. Consoles outside a workspace use global history. Changes apply to new or reattached consoles."
}
}
}
},
"extensionDependencies": [
"REditorSupport.r"
],
"scripts": {
"test": "node --test tests/unit/*.test.cjs",
"test:extension-host": "vscode-test",
"test:runtime": "node --test tests/runtime.test.cjs",
"test:package": "node --test tests/package.test.cjs",
"vscode:prepublish": "npm run package:extension && npm run build:sidecar && npm run stage:sidecar",
"build:sidecar": "node scripts/build-sidecar.js",
"stage:sidecar": "node scripts/stage-sidecar.js",
"check-types": "tsc --noEmit -p ./",
"compile": "npm run check-types && node esbuild.js",
"watch": "node esbuild.js --watch",
"package:extension": "npm run check-types && node esbuild.js --production",
"package:vsix": "node scripts/package-vsix.js",
"package": "npm run vscode:prepublish && npm run package:vsix"
},
"overrides": {
"serialize-javascript": "^7.1.3",
"diff": "^8.0.3",
"uuid": "^11.1.1"
},
"devDependencies": {
"@types/node": "^24.12.2",
"@types/vscode": "1.85.0",
"@vscode/vsce": "^3.7.1",
"esbuild": "^0.28.2",
"typescript": "^5.3.0",
"@vscode/test-electron": "^3.1.0",
"@vscode/test-cli": "^0.0.12"
},
"dependencies": {
"@xterm/headless": "^6.0.0",
"vscode-languageclient": "^9.0.1"
}
}