-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
173 lines (173 loc) · 4.82 KB
/
Copy pathpackage.json
File metadata and controls
173 lines (173 loc) · 4.82 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
{
"name": "r-plot-pro",
"displayName": "R Plot Pro",
"description": "The ultimate R and Julia visualization experience for VS Code. High-performance, real-time, and designed for professionals who demand the best of RStudio and Positron.",
"version": "0.52.0",
"license": "MIT",
"publisher": "ofurkancoban",
"icon": "assets/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/ofurkancoban/RPlotPro"
},
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Visualization",
"Data Science"
],
"activationEvents": [
"*"
],
"extensionDependencies": [
"REditorSupport.r"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "rPlotViewer.showPlot",
"title": "R Plot Pro: Show Viewer",
"icon": "$(graph)"
},
{
"command": "rPlotViewer.clearPlot",
"title": "R Plot: Clear Plot",
"icon": "$(trash)"
},
{
"command": "rPlotViewer.exportPlot",
"title": "R Plot: Export Plot",
"icon": "$(save)"
},
{
"command": "rPlotViewer.previousPlot",
"title": "R Plot: Previous Plot",
"icon": "$(chevron-left)"
},
{
"command": "rPlotViewer.nextPlot",
"title": "R Plot: Next Plot",
"icon": "$(chevron-right)"
},
{
"command": "rPlotViewer.removeFromRprofile",
"title": "R Plot Pro: Remove .Rprofile Hook"
},
{
"command": "rPlotViewer.removeFromJuliaStartup",
"title": "R Plot Pro: Remove Julia startup.jl Hook"
},
{
"command": "rPlotViewer.reportIssue",
"title": "R Plot Pro: Report Issue"
},
{
"command": "rPlotViewer.attach",
"title": "R Plot Pro: Attach to Terminal"
},
{
"command": "rPlotViewer.toggleAnnotation",
"title": "R Plot Pro: Toggle Annotation Mode",
"icon": "$(edit)"
}
],
"keybindings": [
{
"command": "rPlotViewer.previousPlot",
"key": "alt+left",
"when": "focusedView == rPlotViewer.mainView"
},
{
"command": "rPlotViewer.nextPlot",
"key": "alt+right",
"when": "focusedView == rPlotViewer.mainView"
},
{
"command": "rPlotViewer.exportPlot",
"key": "ctrl+alt+e",
"mac": "cmd+alt+e",
"when": "focusedView == rPlotViewer.mainView"
},
{
"command": "rPlotViewer.toggleAnnotation",
"key": "ctrl+alt+a",
"mac": "cmd+alt+a",
"when": "focusedView == rPlotViewer.mainView"
}
],
"viewsContainers": {
"panel": [
{
"id": "rPlotViewerBottomPanel",
"title": "R Plot Pro",
"icon": "$(graph)"
}
]
},
"views": {
"rPlotViewerBottomPanel": [
{
"type": "webview",
"id": "rPlotViewer.mainView",
"name": "R Plot Pro",
"icon": "$(graph)"
}
]
},
"configuration": {
"title": "R Plot Pro",
"properties": {
"rPlotViewer.autoShow": {
"type": "boolean",
"default": true,
"description": "Automatically show plot viewer when a plot is created"
},
"rPlotViewer.defaultWidth": {
"type": "number",
"default": 800,
"description": "Default plot width in pixels"
},
"rPlotViewer.defaultHeight": {
"type": "number",
"default": 600,
"description": "Default plot height in pixels"
},
"rPlotViewer.minPort": {
"type": "number",
"default": 10000,
"description": "Lowest port the R plot server may bind to"
},
"rPlotViewer.maxPort": {
"type": "number",
"default": 30000,
"description": "Highest port the R plot server may bind to"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run sync-version && npm run compile",
"sync-version": "node scripts/sync-version.js",
"compile": "tsc -p ./ && npm run build:webview",
"build:webview": "esbuild webview/src/main.ts --bundle --format=iife --target=es2020 --outfile=webview/main.js",
"watch": "tsc -watch -p ./",
"compile:webview-tests": "tsc -p tsconfig.webview.json",
"typecheck:main": "tsc -p tsconfig.main.json",
"test:unit": "npm run compile:webview-tests && mocha --ui tdd \"out-webview/**/*.test.js\"",
"pretest": "npm run compile && npm run typecheck:main",
"test": "vscode-test",
"package": "vsce package"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "^18.0.0",
"@types/vscode": "^1.75.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"esbuild": "^0.23.0",
"mocha": "^10.7.3",
"typescript": "^5.0.0"
}
}