@codingame/monaco-editor-wrapper 1.10.0 → 1.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +11387 -73
- package/package.json +4 -4
- package/stats.html +1 -1
- package/dist/BSV.tmLanguage.js +0 -299
- package/dist/Groovy2.js +0 -28
- package/dist/bsv.js +0 -115
- package/dist/cobol-COBOL Copybook.js +0 -2017
- package/dist/cobol-COBOL.js +0 -2017
- package/dist/coffeescript-coffeescript.js +0 -18
- package/dist/cpp-c.js +0 -18
- package/dist/cpp-cpp.js +0 -18
- package/dist/elixir-elixir.js +0 -184
- package/dist/features/mutualizedExtensionConfigurations.d.ts +0 -1
- package/dist/features/mutualizedExtensionConfigurations.js +0 -4857
- package/dist/fsharp-fsharp.js +0 -18
- package/dist/groovy-groovy.js +0 -229
- package/dist/javascript-javascript.js +0 -196
- package/dist/javascript-javascriptreact.js +0 -196
- package/dist/kotlin-kotlinscript.js +0 -117
- package/dist/languages/extensions/configurationLoader.d.ts +0 -1324
- package/dist/markdown-basics-markdown.js +0 -121
- package/dist/php-php.js +0 -265
- package/dist/powershell-powershell.js +0 -18
- package/dist/sdc.js +0 -69
- package/dist/sdc.tmLanguage.js +0 -712
- package/dist/services/CustomFoldingRulesLanguageConfigurationService.d.ts +0 -4
- package/dist/services/EditorModelResolverService.d.ts +0 -24
- package/dist/swift-swift.js +0 -183
- package/dist/typescript-basics-typescript.js +0 -312
- package/dist/typescript-basics-typescriptreact.js +0 -312
- package/dist/ucf.js +0 -73
- package/dist/ucf.tmLanguage.js +0 -36
- package/dist/vb-vb.js +0 -88
- package/dist/verilog-bsv.js +0 -49
- package/dist/verilog-systemverilog.js +0 -208
- package/dist/verilog-verilog.js +0 -432
- package/dist/verilog.tmLanguage.js +0 -321
- package/dist/verilog2.js +0 -94
- package/dist/vscode-R-r.js +0 -473
- package/dist/vscode-R-rd.js +0 -473
- package/dist/vscode-R-rmd.js +0 -91
- package/dist/xdc.js +0 -69
package/dist/vscode-R-rd.js
DELETED
|
@@ -1,473 +0,0 @@
|
|
|
1
|
-
var rug = {
|
|
2
|
-
prefix: "rug",
|
|
3
|
-
body: "rug(${1:jitter(${2:x})})",
|
|
4
|
-
descriptison: "Add Tick Marks"
|
|
5
|
-
};
|
|
6
|
-
var app = {
|
|
7
|
-
prefix: "apply",
|
|
8
|
-
body: "apply(${1:X}, ${2:MARGIN}, ${3:FUN}, ${4:...})",
|
|
9
|
-
description: "Apply"
|
|
10
|
-
};
|
|
11
|
-
var att = {
|
|
12
|
-
prefix: "attach",
|
|
13
|
-
body: "attach(${1:frame})",
|
|
14
|
-
description: "Attach"
|
|
15
|
-
};
|
|
16
|
-
var cat = {
|
|
17
|
-
prefix: "cat",
|
|
18
|
-
body: "cat(${1:file}, ${2:sep = ${3:\"\"}}, ${4:fill = ${5:FALSE}}, ${6:labels = ${7:NULL}}, ${8:append = ${9:FALSE}})",
|
|
19
|
-
description: "Cat"
|
|
20
|
-
};
|
|
21
|
-
var cum = {
|
|
22
|
-
prefix: "cum",
|
|
23
|
-
body: "cum${1:max}(${2:x})",
|
|
24
|
-
description: "Cummulative"
|
|
25
|
-
};
|
|
26
|
-
var cuma = {
|
|
27
|
-
prefix: "cumaax",
|
|
28
|
-
body: "cummax(${1:x}",
|
|
29
|
-
description: "Cummulative max"
|
|
30
|
-
};
|
|
31
|
-
var cumi = {
|
|
32
|
-
prefix: "cumin",
|
|
33
|
-
body: "cummin(${1:x}",
|
|
34
|
-
description: "Cummulative min"
|
|
35
|
-
};
|
|
36
|
-
var daf = {
|
|
37
|
-
prefix: "data.frame",
|
|
38
|
-
body: "data.frame(${1:...}, ${2:row.names = ${3:NULL}}, ${4:check.rows = ${5:FALSE}}, ${6:check.names = ${7:TRUE}}, ${8:stringsAsFactors = ${9:default.stringsAsFactors()}})",
|
|
39
|
-
description: "Data Frame"
|
|
40
|
-
};
|
|
41
|
-
var den = {
|
|
42
|
-
prefix: "density",
|
|
43
|
-
body: "density(${1:x}${2:, bw = ${3:bandwidth}})",
|
|
44
|
-
description: "Density"
|
|
45
|
-
};
|
|
46
|
-
var det = {
|
|
47
|
-
prefix: "detach",
|
|
48
|
-
body: "detach(${0:})",
|
|
49
|
-
description: "Detach"
|
|
50
|
-
};
|
|
51
|
-
var cut = {
|
|
52
|
-
prefix: "cut",
|
|
53
|
-
body: "cut(${1:x}, breaks = c(${2:${3:}, ${4:max(${1:x})}}))",
|
|
54
|
-
description: "Divide Into Intervals"
|
|
55
|
-
};
|
|
56
|
-
var exp = {
|
|
57
|
-
prefix: "exppand",
|
|
58
|
-
body: "expand.grid(${1:...}, ${2:KEEP.OUT.ATTRS = ${3:TRUE}}, ${4:stringsAsFactors = ${5:TRUE}})",
|
|
59
|
-
description: "Expand grid"
|
|
60
|
-
};
|
|
61
|
-
var fac = {
|
|
62
|
-
prefix: "factor",
|
|
63
|
-
body: "factor(${1:x})",
|
|
64
|
-
description: "Factor"
|
|
65
|
-
};
|
|
66
|
-
var fun = {
|
|
67
|
-
prefix: "function",
|
|
68
|
-
body: "function(${1:x}) ${3:{$0\\}}",
|
|
69
|
-
description: "Function"
|
|
70
|
-
};
|
|
71
|
-
var glm = {
|
|
72
|
-
prefix: "glm",
|
|
73
|
-
body: "glm(${1:formula}, ${2:family = {3:gaussian}}, ${4:data})",
|
|
74
|
-
description: "Generalized Linear Models"
|
|
75
|
-
};
|
|
76
|
-
var grep = {
|
|
77
|
-
prefix: "grep",
|
|
78
|
-
body: "grep(${1:pattern}, ${2:x}, ${3:ignore.case = ${4:FALSE}}, ${5:perl = ${6:FALSE}})",
|
|
79
|
-
description: "Grep"
|
|
80
|
-
};
|
|
81
|
-
var grep2 = {
|
|
82
|
-
prefix: "grep",
|
|
83
|
-
body: "grep(${1:pattern}, ${2:x}, ${3:ignore.case = ${4:FALSE}}, ${5:perl = ${6:FALSE}}, ${7:value = ${8:FALSE}}, ${9:fixed = ${10:TRUE}})",
|
|
84
|
-
description: "Grep"
|
|
85
|
-
};
|
|
86
|
-
var grepl = {
|
|
87
|
-
prefix: "grepl",
|
|
88
|
-
body: "grep(${1:pattern}, ${2:x}, ${3:ignore.case = ${4:FALSE}}, ${5:perl = ${6:FALSE}}, ${7:fixed = ${8:TRUE}})",
|
|
89
|
-
description: "Grep logical"
|
|
90
|
-
};
|
|
91
|
-
var ins = {
|
|
92
|
-
prefix: "insall",
|
|
93
|
-
body: "install.packages(${1:pkgs}, ${2:lib}, ${3:repos = ${4:getOption(\"repos\")}}, ${5:contriburl = ${6:contrib.url(repos, type)}})",
|
|
94
|
-
description: "Install package"
|
|
95
|
-
};
|
|
96
|
-
var km = {
|
|
97
|
-
prefix: "kmeans",
|
|
98
|
-
body: "kmeans(${1:x}, ${2:centers}, ${3:iter.max = ${4:10}}, ${5:nstart = ${6:1}}, ${7:algorithm = ${8:c(\"Hartigan-Wong\", \"Lloyd\", \"Forgy\",\"MacQueen\")}}, ${9:trace = ${10:FALSE}})",
|
|
99
|
-
description: "Kmeans"
|
|
100
|
-
};
|
|
101
|
-
var kr = {
|
|
102
|
-
prefix: "kruskal",
|
|
103
|
-
body: "kruskal.test(${1:formula}, ${2:data}, ${3:subset}, ${4:na.action}, ${5:...})",
|
|
104
|
-
description: "Kruskal-Wallis Rank Sum test"
|
|
105
|
-
};
|
|
106
|
-
var lap = {
|
|
107
|
-
prefix: "lapply",
|
|
108
|
-
body: "lapply(${1:X}, ${2:FUN}, ${3:...})",
|
|
109
|
-
description: "Lapply"
|
|
110
|
-
};
|
|
111
|
-
var len = {
|
|
112
|
-
prefix: "length",
|
|
113
|
-
body: "length(${1:x})",
|
|
114
|
-
description: "Length"
|
|
115
|
-
};
|
|
116
|
-
var lib = {
|
|
117
|
-
prefix: "library",
|
|
118
|
-
body: "library(${1:package}, ${2:help}, ${3:pos = ${4:2}}, ${5:lib.loc = ${6:NULL}})",
|
|
119
|
-
description: "Library"
|
|
120
|
-
};
|
|
121
|
-
var lin = {
|
|
122
|
-
prefix: "lines",
|
|
123
|
-
body: "lines(${1:x}${2:, color=${3:red}})",
|
|
124
|
-
description: "Polygonal Line"
|
|
125
|
-
};
|
|
126
|
-
var dat = {
|
|
127
|
-
prefix: "data",
|
|
128
|
-
body: "data(${1:name})",
|
|
129
|
-
description: "Load Dataset"
|
|
130
|
-
};
|
|
131
|
-
var loa = {
|
|
132
|
-
prefix: "load",
|
|
133
|
-
body: "load(${1:file}, ${2:envir = ${3:parent.frame()}}, ${4:verbose = ${5:FALSE}})",
|
|
134
|
-
description: "Load RData"
|
|
135
|
-
};
|
|
136
|
-
var mea = {
|
|
137
|
-
prefix: "mean",
|
|
138
|
-
body: "mean(${1:x}${2:, na.rm=${3:FALSE}})",
|
|
139
|
-
description: "Mean"
|
|
140
|
-
};
|
|
141
|
-
var mer = {
|
|
142
|
-
prefix: "merge",
|
|
143
|
-
body: "merge(${1:x}, ${2:y}, ${3:by = ${4:intersect(names(x), names(y))}}, ${5:all = ${6:FALSE}})",
|
|
144
|
-
description: "Merge"
|
|
145
|
-
};
|
|
146
|
-
var nam = {
|
|
147
|
-
prefix: "names",
|
|
148
|
-
body: "names(${1:x})",
|
|
149
|
-
description: "Names"
|
|
150
|
-
};
|
|
151
|
-
var opt = {
|
|
152
|
-
prefix: "option",
|
|
153
|
-
body: "options(${1:...})",
|
|
154
|
-
description: "Options"
|
|
155
|
-
};
|
|
156
|
-
var ord = {
|
|
157
|
-
prefix: "order",
|
|
158
|
-
body: "order(${1:...}, ${2:na.last = ${3:TRUE}}, ${4:decreasing = ${5:FALSE}})",
|
|
159
|
-
description: "Order"
|
|
160
|
-
};
|
|
161
|
-
var out = {
|
|
162
|
-
prefix: "outer",
|
|
163
|
-
body: "outer(${1:X}, ${2:Y}, ${3:FUN = ${4:\"*\"}}, ${5:...})",
|
|
164
|
-
description: "Outer"
|
|
165
|
-
};
|
|
166
|
-
var pas = {
|
|
167
|
-
prefix: "paste",
|
|
168
|
-
body: "paste(${1:...}, ${2:sep = ${3:\" \"}}, ${3:collapse = ${4:NULL}})",
|
|
169
|
-
description: "Paste"
|
|
170
|
-
};
|
|
171
|
-
var pas0 = {
|
|
172
|
-
prefix: "pas0",
|
|
173
|
-
body: "paste(${1:...}, ${2:collapse = ${3:NULL}})",
|
|
174
|
-
description: "Paste0"
|
|
175
|
-
};
|
|
176
|
-
var plot = {
|
|
177
|
-
prefix: "plot",
|
|
178
|
-
body: "plot(${1:x}, ${2:y}, ${3:...})",
|
|
179
|
-
description: "Plot"
|
|
180
|
-
};
|
|
181
|
-
var poi = {
|
|
182
|
-
prefix: "point",
|
|
183
|
-
body: "points(${1:x}, ${2:y = ${3:NULL}}, ${4:type = ${5:\"p\"}}, ${6:...})",
|
|
184
|
-
description: "Points"
|
|
185
|
-
};
|
|
186
|
-
var pri = {
|
|
187
|
-
prefix: "print",
|
|
188
|
-
body: "print(${1:x}, ${2:...})",
|
|
189
|
-
description: "Print"
|
|
190
|
-
};
|
|
191
|
-
var qua = {
|
|
192
|
-
prefix: "quantile",
|
|
193
|
-
body: "quantile(${1:x}, ${2:probs = ${3:seq(0, 1, 0.25)}}, ${4:na.rm = ${5:FALSE}}, ${6:names = ${7:TRUE}}, ${8:type = ${9:7}}, ${10:...})",
|
|
194
|
-
description: "Quantile"
|
|
195
|
-
};
|
|
196
|
-
var reat = {
|
|
197
|
-
prefix: "read",
|
|
198
|
-
body: "read.table('${1:filename}'${2:, header = ${3:TRUE}, sep = '${4:\t}', stringsAsFactors = ${5:FALSE}})",
|
|
199
|
-
description: "Read From File"
|
|
200
|
-
};
|
|
201
|
-
var rep = {
|
|
202
|
-
prefix: "rep",
|
|
203
|
-
body: "rep(${1:x}, ${2:...})",
|
|
204
|
-
description: "Rep"
|
|
205
|
-
};
|
|
206
|
-
var sam = {
|
|
207
|
-
prefix: "sample",
|
|
208
|
-
body: "sample(${1:x}, ${2:size}, ${3:replace = ${4:FALSE}}, ${5:prob = ${6:NULL}})",
|
|
209
|
-
description: "Sample"
|
|
210
|
-
};
|
|
211
|
-
var seq = {
|
|
212
|
-
prefix: "seq",
|
|
213
|
-
body: "seq(${1:from}, ${2:to}, ${3:by})",
|
|
214
|
-
description: "Sequence (from,to,by)"
|
|
215
|
-
};
|
|
216
|
-
var sor = {
|
|
217
|
-
prefix: "sort",
|
|
218
|
-
body: "sort(${1:x})",
|
|
219
|
-
description: "Sort"
|
|
220
|
-
};
|
|
221
|
-
var sou = {
|
|
222
|
-
prefix: "source",
|
|
223
|
-
body: "source(${1:'${2:}'}${3:, chdir = ${4:TRUE}})",
|
|
224
|
-
description: "Source"
|
|
225
|
-
};
|
|
226
|
-
var sd = {
|
|
227
|
-
prefix: "sd",
|
|
228
|
-
body: "sd(${1:x}${2:, na.rm=${3:FALSE}})",
|
|
229
|
-
description: "Standard deviation"
|
|
230
|
-
};
|
|
231
|
-
var tab = {
|
|
232
|
-
prefix: "table",
|
|
233
|
-
body: "table(${1:...})",
|
|
234
|
-
description: "Table"
|
|
235
|
-
};
|
|
236
|
-
var tap = {
|
|
237
|
-
prefix: "tapply",
|
|
238
|
-
body: "tapply(${1:X}, ${2:INDEX}, ${3:FUN = ${4:NULL}}, ${5:...}, ${6:simplify = ${7:TRUE}})",
|
|
239
|
-
description: "Tapply"
|
|
240
|
-
};
|
|
241
|
-
var uni = {
|
|
242
|
-
prefix: "unique",
|
|
243
|
-
body: "unique(${1:x}, ${2:incomparables = ${3:FALSE}}, ${4:...})",
|
|
244
|
-
description: "Unique"
|
|
245
|
-
};
|
|
246
|
-
var whi = {
|
|
247
|
-
prefix: "which",
|
|
248
|
-
body: "which(${1:x}, ${2:arr.ind = ${3:FALSE}}, ${4:useNames = ${5:TRUE}})",
|
|
249
|
-
description: "Which"
|
|
250
|
-
};
|
|
251
|
-
var wric = {
|
|
252
|
-
prefix: "write",
|
|
253
|
-
body: "write.csv(${1:x}, ${2:file = ${3:\"\"}}, ${4:append = ${5:FALSE}}, ${6:quote = ${7:TRUE}}, ${8:sep = ${9:\" \"}}",
|
|
254
|
-
description: "Write csv"
|
|
255
|
-
};
|
|
256
|
-
var fch = {
|
|
257
|
-
prefix: "fch",
|
|
258
|
-
body: "${1:file = }file.choose()${0:}",
|
|
259
|
-
description: "file.choose"
|
|
260
|
-
};
|
|
261
|
-
var Clustering = {
|
|
262
|
-
prefix: "clara",
|
|
263
|
-
body: [
|
|
264
|
-
"library(cluster)",
|
|
265
|
-
"clara(${1:xData}, k = ${2:k}, metric = ${3:metric}, stand = ${4:stand}, samples = ${5:samples})"
|
|
266
|
-
],
|
|
267
|
-
description: "Cluster data into k clusters (library: cluster)"
|
|
268
|
-
};
|
|
269
|
-
var loess = {
|
|
270
|
-
prefix: "loess",
|
|
271
|
-
body: [
|
|
272
|
-
"loess(${1:yCol} ~ {2:xCol}, data = ${3:data}, subset = ${4:subset}, weights = ${5:weights}, span = ${6:span},",
|
|
273
|
-
"degree = ${7:degree}, na.action = {8:na.action})"
|
|
274
|
-
],
|
|
275
|
-
description: "Local polynomial regression"
|
|
276
|
-
};
|
|
277
|
-
var Crosstabs = {
|
|
278
|
-
prefix: "xtabs",
|
|
279
|
-
body: [
|
|
280
|
-
"crossTable <- xtabs(~${1:varNames}, data= ${2:dataName}, exclude = c(${3:exclude}), subset = ${4:subset})",
|
|
281
|
-
"ftable(crossTable) # print crosstabs",
|
|
282
|
-
"summary(crossTable) # chi-square tests"
|
|
283
|
-
],
|
|
284
|
-
description: "Crosstabulations for variables in a data frame"
|
|
285
|
-
};
|
|
286
|
-
var Matrix = {
|
|
287
|
-
prefix: "matrix",
|
|
288
|
-
body: "${1:outMatrix} <- matrix(data = ${2:dataVec}, nrow = ${3:nrow}, ncol = ${4:ncol}, byrow = ${5:byrow})",
|
|
289
|
-
description: "Create a matrix from a vector"
|
|
290
|
-
};
|
|
291
|
-
var elseif = {
|
|
292
|
-
prefix: "elseif",
|
|
293
|
-
body: [
|
|
294
|
-
"else if (${1:condition}) {",
|
|
295
|
-
" ${2:selected}",
|
|
296
|
-
"}"
|
|
297
|
-
],
|
|
298
|
-
description: "Code snippet for 'else' conditional"
|
|
299
|
-
};
|
|
300
|
-
var vscodeRRd = {
|
|
301
|
-
rug: rug,
|
|
302
|
-
app: app,
|
|
303
|
-
att: att,
|
|
304
|
-
cat: cat,
|
|
305
|
-
cum: cum,
|
|
306
|
-
cuma: cuma,
|
|
307
|
-
cumi: cumi,
|
|
308
|
-
daf: daf,
|
|
309
|
-
den: den,
|
|
310
|
-
det: det,
|
|
311
|
-
cut: cut,
|
|
312
|
-
exp: exp,
|
|
313
|
-
fac: fac,
|
|
314
|
-
fun: fun,
|
|
315
|
-
glm: glm,
|
|
316
|
-
grep: grep,
|
|
317
|
-
grep2: grep2,
|
|
318
|
-
grepl: grepl,
|
|
319
|
-
ins: ins,
|
|
320
|
-
km: km,
|
|
321
|
-
kr: kr,
|
|
322
|
-
lap: lap,
|
|
323
|
-
len: len,
|
|
324
|
-
lib: lib,
|
|
325
|
-
lin: lin,
|
|
326
|
-
dat: dat,
|
|
327
|
-
loa: loa,
|
|
328
|
-
mea: mea,
|
|
329
|
-
mer: mer,
|
|
330
|
-
nam: nam,
|
|
331
|
-
opt: opt,
|
|
332
|
-
ord: ord,
|
|
333
|
-
out: out,
|
|
334
|
-
pas: pas,
|
|
335
|
-
pas0: pas0,
|
|
336
|
-
plot: plot,
|
|
337
|
-
poi: poi,
|
|
338
|
-
pri: pri,
|
|
339
|
-
qua: qua,
|
|
340
|
-
reat: reat,
|
|
341
|
-
rep: rep,
|
|
342
|
-
sam: sam,
|
|
343
|
-
seq: seq,
|
|
344
|
-
sor: sor,
|
|
345
|
-
sou: sou,
|
|
346
|
-
sd: sd,
|
|
347
|
-
tab: tab,
|
|
348
|
-
tap: tap,
|
|
349
|
-
uni: uni,
|
|
350
|
-
whi: whi,
|
|
351
|
-
wric: wric,
|
|
352
|
-
fch: fch,
|
|
353
|
-
Clustering: Clustering,
|
|
354
|
-
"Linear model": {
|
|
355
|
-
prefix: "lm",
|
|
356
|
-
body: [
|
|
357
|
-
"lmObj <- lm(${1:yCol} ~ {2:xCol}, data = ${3:data}, subset = ${4:subset}, weights = ${5:weights}, na.action = ${6:na.action})",
|
|
358
|
-
"summary(lmObj)"
|
|
359
|
-
],
|
|
360
|
-
description: "Fit a linear model"
|
|
361
|
-
},
|
|
362
|
-
"Linear model with plot": {
|
|
363
|
-
prefix: "lmplot",
|
|
364
|
-
body: [
|
|
365
|
-
"lmObj <- lm(${1:yCol} ~ {2:xCol}, data = ${3:data}, subset = ${4:subset}, weights = ${5:weights}, na.action = ${6:na.action})",
|
|
366
|
-
"summary(lmObj)",
|
|
367
|
-
"plot(lmObj, which=c(1)) # Plot residuals versus fitted"
|
|
368
|
-
],
|
|
369
|
-
description: "Fit a linear model and create a plot"
|
|
370
|
-
},
|
|
371
|
-
loess: loess,
|
|
372
|
-
"Descriptive statistics summary": {
|
|
373
|
-
prefix: "summary",
|
|
374
|
-
body: "summary(${1:dataName}, digits = ${2:digits}, maxsum = ${3:maxsum})",
|
|
375
|
-
description: "Mean, median, 25th and 75th quartiles, min, and max of variables"
|
|
376
|
-
},
|
|
377
|
-
Crosstabs: Crosstabs,
|
|
378
|
-
"Empty data frame (character)": {
|
|
379
|
-
prefix: "df2c",
|
|
380
|
-
body: "${1:dfname} <- data.frame(${2:a} = character(), ${3:b} = character())",
|
|
381
|
-
description: "Code snippet for an empty character data frame"
|
|
382
|
-
},
|
|
383
|
-
"Empty data frame (numeric)": {
|
|
384
|
-
prefix: "df2n",
|
|
385
|
-
body: "${1:dfname} <- data.frame(${2:x} = numeric(), ${3:y} = numeric())",
|
|
386
|
-
description: "Code snippet for an empty numerical data frame"
|
|
387
|
-
},
|
|
388
|
-
"Data frame": {
|
|
389
|
-
prefix: "dfv",
|
|
390
|
-
body: "${1:dfname} <- data.frame(${2:varlist})",
|
|
391
|
-
description: "Create a data frame from vectors"
|
|
392
|
-
},
|
|
393
|
-
"Categorical variable": {
|
|
394
|
-
prefix: "factor",
|
|
395
|
-
body: "${1:outFactor} <- factor(x = ${2:dataVec}, levels = ${3:levels}, exclude = ${4:exclude})",
|
|
396
|
-
description: "Create a factor (categorical variable) from a vector"
|
|
397
|
-
},
|
|
398
|
-
Matrix: Matrix,
|
|
399
|
-
"remove missings": {
|
|
400
|
-
prefix: "naomit",
|
|
401
|
-
body: "${1:newdataframe} <- na.omit(${2:dataframe})",
|
|
402
|
-
description: "Remove all rows with missing values from data frame"
|
|
403
|
-
},
|
|
404
|
-
"Read CSV": {
|
|
405
|
-
prefix: "readc",
|
|
406
|
-
body: "${1:dfname} <- read.csv(file = \"${2:file}\", header = ${3|TRUE,FALSE|}, sep = \"${4|\\,,;|}\", row.names = ${5:NULL}, stringsAsFactors = ${6|FALSE,TRUE|})",
|
|
407
|
-
description: "Read a data table from a comma-separated file (CSV) and create a data frame"
|
|
408
|
-
},
|
|
409
|
-
"else": {
|
|
410
|
-
prefix: "else",
|
|
411
|
-
body: [
|
|
412
|
-
"else {",
|
|
413
|
-
" ${1:selected}",
|
|
414
|
-
"}"
|
|
415
|
-
],
|
|
416
|
-
description: "Code snippet for 'else' conditional"
|
|
417
|
-
},
|
|
418
|
-
elseif: elseif,
|
|
419
|
-
"for": {
|
|
420
|
-
prefix: "for",
|
|
421
|
-
body: [
|
|
422
|
-
"for (${1:identifier} in ${2:collection}) {",
|
|
423
|
-
" ${3:selected}",
|
|
424
|
-
"}"
|
|
425
|
-
],
|
|
426
|
-
description: "Code snippet for 'for' loop"
|
|
427
|
-
},
|
|
428
|
-
"function": {
|
|
429
|
-
prefix: "function",
|
|
430
|
-
body: [
|
|
431
|
-
"${1:name} <- function(${2:parameters}) {",
|
|
432
|
-
" ${3:selected}",
|
|
433
|
-
"}"
|
|
434
|
-
],
|
|
435
|
-
description: "Named function"
|
|
436
|
-
},
|
|
437
|
-
"if": {
|
|
438
|
-
prefix: "if",
|
|
439
|
-
body: [
|
|
440
|
-
"if (${1:condition}) {",
|
|
441
|
-
" ${2:selected}",
|
|
442
|
-
"}"
|
|
443
|
-
],
|
|
444
|
-
description: "Code snippet for 'if' conditional"
|
|
445
|
-
},
|
|
446
|
-
"if-else block": {
|
|
447
|
-
prefix: "ifelse",
|
|
448
|
-
body: [
|
|
449
|
-
"if (${1:condition}) {",
|
|
450
|
-
" ${2:selected}",
|
|
451
|
-
"} else {",
|
|
452
|
-
" ",
|
|
453
|
-
"}"
|
|
454
|
-
],
|
|
455
|
-
description: "Code snippet for 'if-else' conditional block"
|
|
456
|
-
},
|
|
457
|
-
"Region Start": {
|
|
458
|
-
prefix: "#region",
|
|
459
|
-
body: [
|
|
460
|
-
"#region $0"
|
|
461
|
-
],
|
|
462
|
-
description: "Folding Region Start"
|
|
463
|
-
},
|
|
464
|
-
"Region End": {
|
|
465
|
-
prefix: "#endregion",
|
|
466
|
-
body: [
|
|
467
|
-
"#endregion"
|
|
468
|
-
],
|
|
469
|
-
description: "Folding Region End"
|
|
470
|
-
}
|
|
471
|
-
};
|
|
472
|
-
|
|
473
|
-
export { Clustering, Crosstabs, Matrix, app, att, cat, cum, cuma, cumi, cut, daf, dat, vscodeRRd as default, den, det, elseif, exp, fac, fch, fun, glm, grep, grep2, grepl, ins, km, kr, lap, len, lib, lin, loa, loess, mea, mer, nam, opt, ord, out, pas, pas0, plot, poi, pri, qua, reat, rep, rug, sam, sd, seq, sor, sou, tab, tap, uni, whi, wric };
|
package/dist/vscode-R-rmd.js
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
var vscodeRRmd = {
|
|
2
|
-
"Insert bold text": {
|
|
3
|
-
prefix: "bold",
|
|
4
|
-
body: "**${1:${TM_SELECTED_TEXT}}**$0",
|
|
5
|
-
description: "Insert bold text"
|
|
6
|
-
},
|
|
7
|
-
"Insert italic text": {
|
|
8
|
-
prefix: "italic",
|
|
9
|
-
body: "*${1:${TM_SELECTED_TEXT}}*$0",
|
|
10
|
-
description: "Insert italic text"
|
|
11
|
-
},
|
|
12
|
-
"Insert quoted text": {
|
|
13
|
-
prefix: "quote",
|
|
14
|
-
body: "> ${1:${TM_SELECTED_TEXT}}",
|
|
15
|
-
description: "Insert quoted text"
|
|
16
|
-
},
|
|
17
|
-
"Insert code": {
|
|
18
|
-
prefix: "code",
|
|
19
|
-
body: "`${1:${TM_SELECTED_TEXT}}`$0",
|
|
20
|
-
description: "Insert code"
|
|
21
|
-
},
|
|
22
|
-
"Insert fenced code block": {
|
|
23
|
-
prefix: "fenced codeblock",
|
|
24
|
-
body: [
|
|
25
|
-
"```${1:language}",
|
|
26
|
-
"$0",
|
|
27
|
-
"```"
|
|
28
|
-
],
|
|
29
|
-
description: "Insert fenced code block"
|
|
30
|
-
},
|
|
31
|
-
"Insert heading": {
|
|
32
|
-
prefix: "heading",
|
|
33
|
-
body: "# ${1:text}",
|
|
34
|
-
description: "Insert heading"
|
|
35
|
-
},
|
|
36
|
-
"Insert unordered list": {
|
|
37
|
-
prefix: "unordered list",
|
|
38
|
-
body: [
|
|
39
|
-
"- ${1:first}",
|
|
40
|
-
"- ${2:second}",
|
|
41
|
-
"- ${3:third}",
|
|
42
|
-
"$0"
|
|
43
|
-
],
|
|
44
|
-
description: "Insert unordered list"
|
|
45
|
-
},
|
|
46
|
-
"Insert ordered list": {
|
|
47
|
-
prefix: "ordered list",
|
|
48
|
-
body: [
|
|
49
|
-
"1. ${1:first}",
|
|
50
|
-
"2. ${2:second}",
|
|
51
|
-
"3. ${3:third}",
|
|
52
|
-
"$0"
|
|
53
|
-
],
|
|
54
|
-
description: "Insert ordered list"
|
|
55
|
-
},
|
|
56
|
-
"Insert horizontal rule": {
|
|
57
|
-
prefix: "horizontal rule",
|
|
58
|
-
body: "----------\n",
|
|
59
|
-
description: "Insert horizontal rule"
|
|
60
|
-
},
|
|
61
|
-
"Insert link": {
|
|
62
|
-
prefix: "link",
|
|
63
|
-
body: "[${1:text}](http://${2:link})$0",
|
|
64
|
-
description: "Insert link"
|
|
65
|
-
},
|
|
66
|
-
"Insert image": {
|
|
67
|
-
prefix: "image",
|
|
68
|
-
body: "$0",
|
|
69
|
-
description: "Insert image"
|
|
70
|
-
},
|
|
71
|
-
"Insert code chunk": {
|
|
72
|
-
prefix: "code chunk",
|
|
73
|
-
body: [
|
|
74
|
-
"```{${1:language}}",
|
|
75
|
-
"${TM_SELECTED_TEXT}$0",
|
|
76
|
-
"```"
|
|
77
|
-
],
|
|
78
|
-
description: "Insert code chunk"
|
|
79
|
-
},
|
|
80
|
-
"Insert R code chunk": {
|
|
81
|
-
prefix: "r code chunk",
|
|
82
|
-
body: [
|
|
83
|
-
"```{r}",
|
|
84
|
-
"${TM_SELECTED_TEXT}$0",
|
|
85
|
-
"```"
|
|
86
|
-
],
|
|
87
|
-
description: "Insert R code chunk"
|
|
88
|
-
}
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
export { vscodeRRmd as default };
|
package/dist/xdc.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
var comments = {
|
|
2
|
-
lineComment: "#"
|
|
3
|
-
};
|
|
4
|
-
var brackets = [
|
|
5
|
-
[
|
|
6
|
-
"{",
|
|
7
|
-
"}"
|
|
8
|
-
],
|
|
9
|
-
[
|
|
10
|
-
"[",
|
|
11
|
-
"]"
|
|
12
|
-
],
|
|
13
|
-
[
|
|
14
|
-
"(",
|
|
15
|
-
")"
|
|
16
|
-
]
|
|
17
|
-
];
|
|
18
|
-
var autoClosingPairs = [
|
|
19
|
-
[
|
|
20
|
-
"{",
|
|
21
|
-
"}"
|
|
22
|
-
],
|
|
23
|
-
[
|
|
24
|
-
"[",
|
|
25
|
-
"]"
|
|
26
|
-
],
|
|
27
|
-
[
|
|
28
|
-
"(",
|
|
29
|
-
")"
|
|
30
|
-
],
|
|
31
|
-
[
|
|
32
|
-
"\"",
|
|
33
|
-
"\""
|
|
34
|
-
],
|
|
35
|
-
[
|
|
36
|
-
"'",
|
|
37
|
-
"'"
|
|
38
|
-
]
|
|
39
|
-
];
|
|
40
|
-
var surroundingPairs = [
|
|
41
|
-
[
|
|
42
|
-
"{",
|
|
43
|
-
"}"
|
|
44
|
-
],
|
|
45
|
-
[
|
|
46
|
-
"[",
|
|
47
|
-
"]"
|
|
48
|
-
],
|
|
49
|
-
[
|
|
50
|
-
"(",
|
|
51
|
-
")"
|
|
52
|
-
],
|
|
53
|
-
[
|
|
54
|
-
"\"",
|
|
55
|
-
"\""
|
|
56
|
-
],
|
|
57
|
-
[
|
|
58
|
-
"'",
|
|
59
|
-
"'"
|
|
60
|
-
]
|
|
61
|
-
];
|
|
62
|
-
var xdc = {
|
|
63
|
-
comments: comments,
|
|
64
|
-
brackets: brackets,
|
|
65
|
-
autoClosingPairs: autoClosingPairs,
|
|
66
|
-
surroundingPairs: surroundingPairs
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
export { autoClosingPairs, brackets, comments, xdc as default, surroundingPairs };
|