@codingame/monaco-editor-wrapper 1.10.3 → 1.12.0
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/cpptools.js +1 -1
- package/dist/dart3.js +23 -14
- package/dist/features/extensionConfigurations.js +4 -1
- package/dist/features/htmlContribution.js +3 -2
- package/dist/fsharp.tmLanguage.js +2 -2
- package/dist/index.js +3 -0
- package/dist/java2.js +2 -2
- package/dist/jsx-tags.js +1 -1
- package/dist/lua.tmLanguage.js +16 -14
- package/dist/lua2.js +1 -1
- package/dist/main.js +104 -11401
- package/dist/omnisharp.js +6 -0
- package/dist/scalameta.js +4 -3
- package/dist/solidity-solidity.js +213 -0
- package/dist/solidity.js +71 -0
- package/dist/solidity2.js +1187 -0
- package/dist/solidity3.js +136 -0
- package/dist/swift.tmLanguage.js +33 -9
- package/dist/typescript-language-features.js +48 -2
- package/dist/vscode-R-rmarkdown.js +370 -0
- package/dist/vscode-python.js +2 -28
- package/package.json +12 -12
- package/stats.html +1 -1
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
var solidity = [
|
|
2
|
+
{
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "Solidity configuration",
|
|
5
|
+
"properties": {
|
|
6
|
+
"solidity.nodemodulespackage": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"default": "solc",
|
|
9
|
+
"description": "The node modules package to find the solcjs compiler",
|
|
10
|
+
"scope": 3
|
|
11
|
+
},
|
|
12
|
+
"solidity.compileUsingRemoteVersion": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"default": "latest",
|
|
15
|
+
"description": "Compile downloading a remote solc binary file, for example: 'latest' or 'v0.4.3+commit.2353da71', use the command 'Solidity: Get solidity releases' to list all versions, or just right click in a solidity file to simply select the version",
|
|
16
|
+
"scope": 3
|
|
17
|
+
},
|
|
18
|
+
"solidity.compilerOptimization": {
|
|
19
|
+
"type": "number",
|
|
20
|
+
"default": 200,
|
|
21
|
+
"description": "Optimize for how many times you intend to run the code. Lower values will optimize more for initial deployment cost, higher values will optimize more for high-frequency usage.",
|
|
22
|
+
"scope": 3
|
|
23
|
+
},
|
|
24
|
+
"solidity.compileUsingLocalVersion": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"default": "",
|
|
27
|
+
"description": "Compile using a local solc binary file, please include the path of the file if wanted: 'C://v0.4.3+commit.2353da71.js'",
|
|
28
|
+
"scope": 3
|
|
29
|
+
},
|
|
30
|
+
"solidity.defaultCompiler": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": [
|
|
33
|
+
"remote",
|
|
34
|
+
"localFile",
|
|
35
|
+
"localNodeModule",
|
|
36
|
+
"embedded"
|
|
37
|
+
],
|
|
38
|
+
"default": "remote",
|
|
39
|
+
"description": "Sets the default compiler to use",
|
|
40
|
+
"scope": 3
|
|
41
|
+
},
|
|
42
|
+
"solidity.linter": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"enum": [
|
|
45
|
+
"",
|
|
46
|
+
"solhint",
|
|
47
|
+
"solium"
|
|
48
|
+
],
|
|
49
|
+
"default": "solhint",
|
|
50
|
+
"description": "Enables linting using either solium (ethlint) or solhint. Possible options 'solhint' and 'solium', the default is solhint",
|
|
51
|
+
"scope": 3
|
|
52
|
+
},
|
|
53
|
+
"solidity.solhintRules": {
|
|
54
|
+
"type": [
|
|
55
|
+
"object"
|
|
56
|
+
],
|
|
57
|
+
"default": null,
|
|
58
|
+
"description": "Solhint linting validation rules",
|
|
59
|
+
"scope": 3
|
|
60
|
+
},
|
|
61
|
+
"solidity.formatter": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"default": "prettier",
|
|
64
|
+
"enum": [
|
|
65
|
+
"none",
|
|
66
|
+
"prettier"
|
|
67
|
+
],
|
|
68
|
+
"description": "Enables / disables the solidity formatter (prettier solidity default)",
|
|
69
|
+
"scope": 3
|
|
70
|
+
},
|
|
71
|
+
"solidity.soliumRules": {
|
|
72
|
+
"type": [
|
|
73
|
+
"object"
|
|
74
|
+
],
|
|
75
|
+
"default": {
|
|
76
|
+
"imports-on-top": 0,
|
|
77
|
+
"variable-declarations": 0,
|
|
78
|
+
"indentation": [
|
|
79
|
+
"off",
|
|
80
|
+
4
|
|
81
|
+
],
|
|
82
|
+
"quotes": [
|
|
83
|
+
"off",
|
|
84
|
+
"double"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"description": "Solium linting validation rules",
|
|
88
|
+
"scope": 3
|
|
89
|
+
},
|
|
90
|
+
"solidity.enabledAsYouTypeCompilationErrorCheck": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"default": true,
|
|
93
|
+
"description": "Enables as you type compilation of the document and error highlighting",
|
|
94
|
+
"scope": 3
|
|
95
|
+
},
|
|
96
|
+
"solidity.validationDelay": {
|
|
97
|
+
"type": "number",
|
|
98
|
+
"default": 1500,
|
|
99
|
+
"description": "Delay to trigger the validation of the changes of the current document (compilation, solium)",
|
|
100
|
+
"scope": 3
|
|
101
|
+
},
|
|
102
|
+
"solidity.packageDefaultDependenciesDirectory": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"default": "node_modules",
|
|
105
|
+
"description": "Default directory for Packages Dependencies, i.e: 'node_modules', 'lib'. This is used to avoid typing imports with that path prefix",
|
|
106
|
+
"scope": 3
|
|
107
|
+
},
|
|
108
|
+
"solidity.packageDefaultDependenciesContractsDirectory": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"default": "",
|
|
111
|
+
"description": "Default directory where the Package Dependency store its contracts, i.e: 'src', 'contracts', or just a blank string '', this is used to avoid typing imports with subfolder paths",
|
|
112
|
+
"scope": 3
|
|
113
|
+
},
|
|
114
|
+
"solidity.remappings": {
|
|
115
|
+
"type": "array",
|
|
116
|
+
"default": [],
|
|
117
|
+
"description": "Remappings to resolve contracts to local files / directories, i.e: [\"@openzeppelin/=lib/openzeppelin-contracts\",\"ds-test/=lib/ds-test/src/\"]",
|
|
118
|
+
"scope": 3
|
|
119
|
+
},
|
|
120
|
+
"solidity.remappingsWindows": {
|
|
121
|
+
"type": "array",
|
|
122
|
+
"default": [],
|
|
123
|
+
"description": "Windows Remappings to resolve contracts to local Windows files / directories (Note this overrides the generic remapping settings if the OS is Windows) , i.e: [\"@openzeppelin/=C:/lib/openzeppelin-contracts\",\"ds-test/=C:/lib/ds-test/src/\"]",
|
|
124
|
+
"scope": 3
|
|
125
|
+
},
|
|
126
|
+
"solidity.remappingsUnix": {
|
|
127
|
+
"type": "array",
|
|
128
|
+
"default": [],
|
|
129
|
+
"description": "Unix Remappings to resolve contracts to local Unix files / directories (Note this overrides the generic remapping settings if the OS is Unix based), i.e: [\"@openzeppelin/=/opt/lib/openzeppelin-contracts\",\"ds-test/=/opt/lib/ds-test/src/\"]",
|
|
130
|
+
"scope": 3
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
];
|
|
135
|
+
|
|
136
|
+
export { solidity as default };
|
package/dist/swift.tmLanguage.js
CHANGED
|
@@ -3,7 +3,7 @@ var information_for_contributors = [
|
|
|
3
3
|
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
4
4
|
"Once accepted there, we are happy to receive an update request."
|
|
5
5
|
];
|
|
6
|
-
var version = "https://github.com/textmate/swift.tmbundle/commit/
|
|
6
|
+
var version = "https://github.com/textmate/swift.tmbundle/commit/7a35637eb70aef3114b091c4ff6fbf6a2faa881b";
|
|
7
7
|
var name = "Swift";
|
|
8
8
|
var scopeName = "source.swift";
|
|
9
9
|
var comment = "See swift.tmbundle/grammar-test.swift for test cases.";
|
|
@@ -108,7 +108,7 @@ var repository = {
|
|
|
108
108
|
name: "invalid.illegal.character-not-allowed-here.swift"
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
|
-
match: "(?:(\\*)|\\b(deprecated|unavailable)\\b)\\s*(.*?)(?=[,)])"
|
|
111
|
+
match: "(?:(\\*)|\\b(deprecated|unavailable|noasync)\\b)\\s*(.*?)(?=[,)])"
|
|
112
112
|
}
|
|
113
113
|
]
|
|
114
114
|
},
|
|
@@ -817,7 +817,11 @@ var repository = {
|
|
|
817
817
|
name: "keyword.operator.type.opaque.swift"
|
|
818
818
|
},
|
|
819
819
|
{
|
|
820
|
-
match: "\\
|
|
820
|
+
match: "\\bany\\b",
|
|
821
|
+
name: "keyword.operator.type.existential.swift"
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
match: "\\b(?:inout|isolated)\\b",
|
|
821
825
|
name: "storage.modifier.swift"
|
|
822
826
|
},
|
|
823
827
|
{
|
|
@@ -985,19 +989,22 @@ var repository = {
|
|
|
985
989
|
]
|
|
986
990
|
},
|
|
987
991
|
"function": {
|
|
988
|
-
begin: "(?x)\n\t\t\t\t\t\t\\b\n\t\t\t\t\t\t(func)\n\t\t\t\t\t\t\\s+\n\t\t\t\t\t\t(\n\t\t\t\t\t\t\t(?<q>`?)[\\p{L}_][\\p{L}_\\p{N}\\p{M}]*(\\k<q>)\n\t\t\t\t\t\t | (?:\n\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t(?<oph>\t\t\t\t\t\t\t\t# operator-head\n\t\t\t\t\t\t\t\t\t\t[/=\\-+!*%<>&|^~?]\n\t\t\t\t\t\t\t\t\t | [\\x{00A1}-\\x{00A7}]\n\t\t\t\t\t\t\t\t\t | [\\x{00A9}\\x{00AB}]\n\t\t\t\t\t\t\t\t\t | [\\x{00AC}\\x{00AE}]\n\t\t\t\t\t\t\t\t\t | [\\x{00B0}-\\x{00B1}\\x{00B6}\\x{00BB}\\x{00BF}\\x{00D7}\\x{00F7}]\n\t\t\t\t\t\t\t\t\t | [\\x{2016}-\\x{2017}\\x{2020}-\\x{2027}]\n\t\t\t\t\t\t\t\t\t | [\\x{2030}-\\x{203E}]\n\t\t\t\t\t\t\t\t\t | [\\x{2041}-\\x{2053}]\n\t\t\t\t\t\t\t\t\t | [\\x{2055}-\\x{205E}]\n\t\t\t\t\t\t\t\t\t | [\\x{2190}-\\x{23FF}]\n\t\t\t\t\t\t\t\t\t | [\\x{2500}-\\x{2775}]\n\t\t\t\t\t\t\t\t\t | [\\x{2794}-\\x{2BFF}]\n\t\t\t\t\t\t\t\t\t | [\\x{2E00}-\\x{2E7F}]\n\t\t\t\t\t\t\t\t\t | [\\x{3001}-\\x{3003}]\n\t\t\t\t\t\t\t\t\t | [\\x{3008}-\\x{3030}]\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t\t\\g<oph>\n\t\t\t\t\t\t\t\t\t | (?<opc>\t\t\t\t\t\t\t\t# operator-character\n\t\t\t\t\t\t\t\t\t\t\t[\\x{0300}-\\x{036F}]\n\t\t\t\t\t\t\t\t\t\t | [\\x{1DC0}-\\x{1DFF}]\n\t\t\t\t\t\t\t\t\t\t | [\\x{20D0}-\\x{20FF}]\n\t\t\t\t\t\t\t\t\t\t | [\\x{FE00}-\\x{FE0F}]\n\t\t\t\t\t\t\t\t\t\t | [\\x{FE20}-\\x{FE2F}]\n\t\t\t\t\t\t\t\t\t\t | [\\x{E0100}-\\x{E01EF}]\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t)*\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t | ( \\. ( \\g<oph> | \\g<opc> | \\. )+ )\t\t\t# Dot operators\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t\t\\s*\n\t\t\t\t\t\t(?=\\(|<)\n\t\t\t\t\t",
|
|
992
|
+
begin: "(?x)\n\t\t\t\t\t\t\\b\n\t\t\t\t\t\t(?:(nonisolated)\\s+)?\n\t\t\t\t\t\t(func)\n\t\t\t\t\t\t\\s+\n\t\t\t\t\t\t(\n\t\t\t\t\t\t\t(?<q>`?)[\\p{L}_][\\p{L}_\\p{N}\\p{M}]*(\\k<q>)\n\t\t\t\t\t\t | (?:\n\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t(?<oph>\t\t\t\t\t\t\t\t# operator-head\n\t\t\t\t\t\t\t\t\t\t[/=\\-+!*%<>&|^~?]\n\t\t\t\t\t\t\t\t\t | [\\x{00A1}-\\x{00A7}]\n\t\t\t\t\t\t\t\t\t | [\\x{00A9}\\x{00AB}]\n\t\t\t\t\t\t\t\t\t | [\\x{00AC}\\x{00AE}]\n\t\t\t\t\t\t\t\t\t | [\\x{00B0}-\\x{00B1}\\x{00B6}\\x{00BB}\\x{00BF}\\x{00D7}\\x{00F7}]\n\t\t\t\t\t\t\t\t\t | [\\x{2016}-\\x{2017}\\x{2020}-\\x{2027}]\n\t\t\t\t\t\t\t\t\t | [\\x{2030}-\\x{203E}]\n\t\t\t\t\t\t\t\t\t | [\\x{2041}-\\x{2053}]\n\t\t\t\t\t\t\t\t\t | [\\x{2055}-\\x{205E}]\n\t\t\t\t\t\t\t\t\t | [\\x{2190}-\\x{23FF}]\n\t\t\t\t\t\t\t\t\t | [\\x{2500}-\\x{2775}]\n\t\t\t\t\t\t\t\t\t | [\\x{2794}-\\x{2BFF}]\n\t\t\t\t\t\t\t\t\t | [\\x{2E00}-\\x{2E7F}]\n\t\t\t\t\t\t\t\t\t | [\\x{3001}-\\x{3003}]\n\t\t\t\t\t\t\t\t\t | [\\x{3008}-\\x{3030}]\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t\t\\g<oph>\n\t\t\t\t\t\t\t\t\t | (?<opc>\t\t\t\t\t\t\t\t# operator-character\n\t\t\t\t\t\t\t\t\t\t\t[\\x{0300}-\\x{036F}]\n\t\t\t\t\t\t\t\t\t\t | [\\x{1DC0}-\\x{1DFF}]\n\t\t\t\t\t\t\t\t\t\t | [\\x{20D0}-\\x{20FF}]\n\t\t\t\t\t\t\t\t\t\t | [\\x{FE00}-\\x{FE0F}]\n\t\t\t\t\t\t\t\t\t\t | [\\x{FE20}-\\x{FE2F}]\n\t\t\t\t\t\t\t\t\t\t | [\\x{E0100}-\\x{E01EF}]\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t)*\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t | ( \\. ( \\g<oph> | \\g<opc> | \\. )+ )\t\t\t# Dot operators\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t\t\\s*\n\t\t\t\t\t\t(?=\\(|<)\n\t\t\t\t\t",
|
|
989
993
|
beginCaptures: {
|
|
990
994
|
"1": {
|
|
991
|
-
name: "storage.
|
|
995
|
+
name: "storage.modifier.swift"
|
|
992
996
|
},
|
|
993
997
|
"2": {
|
|
994
|
-
name: "
|
|
998
|
+
name: "storage.type.function.swift"
|
|
995
999
|
},
|
|
996
1000
|
"3": {
|
|
997
|
-
name: "
|
|
1001
|
+
name: "entity.name.function.swift"
|
|
998
1002
|
},
|
|
999
1003
|
"4": {
|
|
1000
1004
|
name: "punctuation.definition.identifier.swift"
|
|
1005
|
+
},
|
|
1006
|
+
"5": {
|
|
1007
|
+
name: "punctuation.definition.identifier.swift"
|
|
1001
1008
|
}
|
|
1002
1009
|
},
|
|
1003
1010
|
end: "(?<=\\})|$(?# functions in protocol declarations or generated interfaces have no body)",
|
|
@@ -2252,9 +2259,12 @@ var repository = {
|
|
|
2252
2259
|
]
|
|
2253
2260
|
},
|
|
2254
2261
|
"typed-variable-declaration": {
|
|
2255
|
-
begin: "(?x)\n\t\t\t\t\t\t\\b(let|var)\\b\\s+\n\t\t\t\t\t\t(?<q>`?)[\\p{L}_][\\p{L}_\\p{N}\\p{M}]*(\\k<q>)\\s*\n\t\t\t\t\t\t:\n\t\t\t\t\t",
|
|
2262
|
+
begin: "(?x)\n\t\t\t\t\t\t\\b(?:(async)\\s+)?(let|var)\\b\\s+\n\t\t\t\t\t\t(?<q>`?)[\\p{L}_][\\p{L}_\\p{N}\\p{M}]*(\\k<q>)\\s*\n\t\t\t\t\t\t:\n\t\t\t\t\t",
|
|
2256
2263
|
beginCaptures: {
|
|
2257
2264
|
"1": {
|
|
2265
|
+
name: "keyword.control.async.swift"
|
|
2266
|
+
},
|
|
2267
|
+
"2": {
|
|
2258
2268
|
name: "keyword.other.declaration-specifier.swift"
|
|
2259
2269
|
}
|
|
2260
2270
|
},
|
|
@@ -2640,7 +2650,21 @@ var repository = {
|
|
|
2640
2650
|
match: "(?<!\\.)\\b(do)\\b(\\s*)"
|
|
2641
2651
|
},
|
|
2642
2652
|
{
|
|
2643
|
-
|
|
2653
|
+
captures: {
|
|
2654
|
+
"1": {
|
|
2655
|
+
name: "keyword.control.async.swift"
|
|
2656
|
+
},
|
|
2657
|
+
"2": {
|
|
2658
|
+
name: "storage.modifier.swift"
|
|
2659
|
+
},
|
|
2660
|
+
"3": {
|
|
2661
|
+
name: "keyword.other.declaration-specifier.swift"
|
|
2662
|
+
}
|
|
2663
|
+
},
|
|
2664
|
+
match: "(?<!\\.)\\b(?:(?:(async)|(nonisolated))\\s+)?(let|var)\\b"
|
|
2665
|
+
},
|
|
2666
|
+
{
|
|
2667
|
+
match: "(?<!\\.)\\b(?:associatedtype|operator|typealias)\\b",
|
|
2644
2668
|
name: "keyword.other.declaration-specifier.swift"
|
|
2645
2669
|
},
|
|
2646
2670
|
{
|
|
@@ -498,6 +498,46 @@ var typescriptLanguageFeatures = [
|
|
|
498
498
|
"Remove unnecessary semicolons."
|
|
499
499
|
]
|
|
500
500
|
},
|
|
501
|
+
"js/ts.implicitProjectConfig.module": {
|
|
502
|
+
"type": "string",
|
|
503
|
+
"markdownDescription": "Sets the module system for the program. See more: https://www.typescriptlang.org/tsconfig#module.",
|
|
504
|
+
"default": "ESNext",
|
|
505
|
+
"enum": [
|
|
506
|
+
"CommonJS",
|
|
507
|
+
"AMD",
|
|
508
|
+
"System",
|
|
509
|
+
"UMD",
|
|
510
|
+
"ES6",
|
|
511
|
+
"ES2015",
|
|
512
|
+
"ES2020",
|
|
513
|
+
"ESNext",
|
|
514
|
+
"None",
|
|
515
|
+
"ES2022",
|
|
516
|
+
"Node12",
|
|
517
|
+
"NodeNext"
|
|
518
|
+
],
|
|
519
|
+
"scope": 3
|
|
520
|
+
},
|
|
521
|
+
"js/ts.implicitProjectConfig.target": {
|
|
522
|
+
"type": "string",
|
|
523
|
+
"default": "ES2020",
|
|
524
|
+
"markdownDescription": "Set target JavaScript language version for emitted JavaScript and include library declarations. See more: https://www.typescriptlang.org/tsconfig#target.",
|
|
525
|
+
"enum": [
|
|
526
|
+
"ES3",
|
|
527
|
+
"ES5",
|
|
528
|
+
"ES6",
|
|
529
|
+
"ES2015",
|
|
530
|
+
"ES2016",
|
|
531
|
+
"ES2017",
|
|
532
|
+
"ES2018",
|
|
533
|
+
"ES2019",
|
|
534
|
+
"ES2020",
|
|
535
|
+
"ES2021",
|
|
536
|
+
"ES2022",
|
|
537
|
+
"ESNext"
|
|
538
|
+
],
|
|
539
|
+
"scope": 3
|
|
540
|
+
},
|
|
501
541
|
"javascript.implicitProjectConfig.checkJs": {
|
|
502
542
|
"type": "boolean",
|
|
503
543
|
"default": false,
|
|
@@ -599,13 +639,13 @@ var typescriptLanguageFeatures = [
|
|
|
599
639
|
"javascript.suggest.jsdoc.generateReturns": {
|
|
600
640
|
"type": "boolean",
|
|
601
641
|
"default": true,
|
|
602
|
-
"markdownDescription": "Enable/disable generating `@
|
|
642
|
+
"markdownDescription": "Enable/disable generating `@returns` annotations for JSDoc templates. Requires using TypeScript 4.2+ in the workspace.",
|
|
603
643
|
"scope": 5
|
|
604
644
|
},
|
|
605
645
|
"typescript.suggest.jsdoc.generateReturns": {
|
|
606
646
|
"type": "boolean",
|
|
607
647
|
"default": true,
|
|
608
|
-
"markdownDescription": "Enable/disable generating `@
|
|
648
|
+
"markdownDescription": "Enable/disable generating `@returns` annotations for JSDoc templates. Requires using TypeScript 4.2+ in the workspace.",
|
|
609
649
|
"scope": 5
|
|
610
650
|
},
|
|
611
651
|
"typescript.locale": {
|
|
@@ -1000,6 +1040,12 @@ var typescriptLanguageFeatures = [
|
|
|
1000
1040
|
"default": true,
|
|
1001
1041
|
"description": "Enable/disable snippet completions for class members. Requires using TypeScript 4.5+ in the workspace",
|
|
1002
1042
|
"scope": 4
|
|
1043
|
+
},
|
|
1044
|
+
"typescript.suggest.objectLiteralMethodSnippets.enabled": {
|
|
1045
|
+
"type": "boolean",
|
|
1046
|
+
"default": true,
|
|
1047
|
+
"description": "Enable/disable snippet completions for methods in object literals. Requires using TypeScript 4.7+ in the workspace",
|
|
1048
|
+
"scope": 4
|
|
1003
1049
|
}
|
|
1004
1050
|
}
|
|
1005
1051
|
}
|
|
@@ -8,6 +8,21 @@ var vscodeRRmarkdown = {
|
|
|
8
8
|
prefix: "italic",
|
|
9
9
|
body: "*${1:${TM_SELECTED_TEXT}}*$0",
|
|
10
10
|
description: "Insert italic text"
|
|
11
|
+
},
|
|
12
|
+
"Insert superscript": {
|
|
13
|
+
prefix: "superscript",
|
|
14
|
+
body: "^${1:${TM_SELECTED_TEXT}}^$0",
|
|
15
|
+
description: "Insert superscript"
|
|
16
|
+
},
|
|
17
|
+
"Insert subscript": {
|
|
18
|
+
prefix: "subscript",
|
|
19
|
+
body: "~${1:${TM_SELECTED_TEXT}}~$0",
|
|
20
|
+
description: "Insert subscript"
|
|
21
|
+
},
|
|
22
|
+
"Insert strikeout": {
|
|
23
|
+
prefix: "strikeout",
|
|
24
|
+
body: "~~${1:${TM_SELECTED_TEXT}}~~$0",
|
|
25
|
+
description: "Insert strikeout"
|
|
11
26
|
},
|
|
12
27
|
"Insert quoted text": {
|
|
13
28
|
prefix: "quote",
|
|
@@ -52,6 +67,36 @@ var vscodeRRmarkdown = {
|
|
|
52
67
|
"$0"
|
|
53
68
|
],
|
|
54
69
|
description: "Insert ordered list"
|
|
70
|
+
},
|
|
71
|
+
"Insert unordered item": {
|
|
72
|
+
prefix: "unordered item",
|
|
73
|
+
body: "- ${1:${TM_SELECTED_TEXT}}",
|
|
74
|
+
description: "Insert unordered item"
|
|
75
|
+
},
|
|
76
|
+
"Insert ordered item": {
|
|
77
|
+
prefix: "ordered item",
|
|
78
|
+
body: "1. ${1:${TM_SELECTED_TEXT}}",
|
|
79
|
+
description: "Insert ordered item"
|
|
80
|
+
},
|
|
81
|
+
"Insert task list": {
|
|
82
|
+
prefix: "task list",
|
|
83
|
+
body: [
|
|
84
|
+
"- [${1|x, |}] ${2:first}",
|
|
85
|
+
"- [${3|x, |}] ${4:second}",
|
|
86
|
+
"- [${5|x, |}] ${6:third}",
|
|
87
|
+
"$0"
|
|
88
|
+
],
|
|
89
|
+
description: "Insert task list"
|
|
90
|
+
},
|
|
91
|
+
"Insert checked item": {
|
|
92
|
+
prefix: "checked item",
|
|
93
|
+
body: "- [x] ${1:${TM_SELECTED_TEXT}}",
|
|
94
|
+
description: "Insert checked item"
|
|
95
|
+
},
|
|
96
|
+
"Insert unchecked item": {
|
|
97
|
+
prefix: "unchecked item",
|
|
98
|
+
body: "- [ ] ${1:${TM_SELECTED_TEXT}}",
|
|
99
|
+
description: "Insert unchecked item"
|
|
55
100
|
},
|
|
56
101
|
"Insert horizontal rule": {
|
|
57
102
|
prefix: "horizontal rule",
|
|
@@ -85,6 +130,331 @@ var vscodeRRmarkdown = {
|
|
|
85
130
|
"```"
|
|
86
131
|
],
|
|
87
132
|
description: "Insert R code chunk"
|
|
133
|
+
},
|
|
134
|
+
"Insert inline R code": {
|
|
135
|
+
prefix: "inline r code",
|
|
136
|
+
body: "`r ${1:${TM_SELECTED_TEXT}}`$0",
|
|
137
|
+
description: "Insert inline R code"
|
|
138
|
+
},
|
|
139
|
+
"Insert inline footnotes": {
|
|
140
|
+
prefix: "inline footnotes",
|
|
141
|
+
body: "^[${1:Inline footnotes text.}]$0",
|
|
142
|
+
description: "Insert inline footnotes"
|
|
143
|
+
},
|
|
144
|
+
"Insert speaker notes": {
|
|
145
|
+
prefix: "speaker notes",
|
|
146
|
+
body: [
|
|
147
|
+
"::: notes",
|
|
148
|
+
"",
|
|
149
|
+
"${TM_SELECTED_TEXT}$0",
|
|
150
|
+
"",
|
|
151
|
+
":::"
|
|
152
|
+
],
|
|
153
|
+
description: "Insert speaker notes"
|
|
154
|
+
},
|
|
155
|
+
"Insert two columns": {
|
|
156
|
+
prefix: "two columns",
|
|
157
|
+
body: [
|
|
158
|
+
":::::: {.columns}",
|
|
159
|
+
"::: {.column}",
|
|
160
|
+
"",
|
|
161
|
+
"${1:Content of the left column.}",
|
|
162
|
+
"",
|
|
163
|
+
":::",
|
|
164
|
+
"::: {.column}",
|
|
165
|
+
"",
|
|
166
|
+
"${2:Content of the right column.}",
|
|
167
|
+
"",
|
|
168
|
+
":::",
|
|
169
|
+
"::::::$0"
|
|
170
|
+
],
|
|
171
|
+
description: "Insert (side-by-side) two columns"
|
|
172
|
+
},
|
|
173
|
+
"Insert incremental list": {
|
|
174
|
+
prefix: "incremental list",
|
|
175
|
+
body: [
|
|
176
|
+
"::: incremental",
|
|
177
|
+
"",
|
|
178
|
+
"- ${1:first}",
|
|
179
|
+
"- ${2:second}",
|
|
180
|
+
"- ${3:third}",
|
|
181
|
+
"$0",
|
|
182
|
+
"",
|
|
183
|
+
":::"
|
|
184
|
+
],
|
|
185
|
+
description: "Insert incremental list"
|
|
186
|
+
},
|
|
187
|
+
"Insert nonincremental list": {
|
|
188
|
+
prefix: "nonincremental list",
|
|
189
|
+
body: [
|
|
190
|
+
"::: nonincremental",
|
|
191
|
+
"",
|
|
192
|
+
"- ${1:first}",
|
|
193
|
+
"- ${2:second}",
|
|
194
|
+
"- ${3:third}",
|
|
195
|
+
"$0",
|
|
196
|
+
"",
|
|
197
|
+
":::"
|
|
198
|
+
],
|
|
199
|
+
description: "Insert nonincremental list"
|
|
200
|
+
},
|
|
201
|
+
"Insert incremental fenced block": {
|
|
202
|
+
prefix: "incremental fenced block",
|
|
203
|
+
body: [
|
|
204
|
+
"::: incremental",
|
|
205
|
+
"",
|
|
206
|
+
"${1:${TM_SELECTED_TEXT}}$0",
|
|
207
|
+
"",
|
|
208
|
+
":::"
|
|
209
|
+
],
|
|
210
|
+
description: "Insert incremental fenced block"
|
|
211
|
+
},
|
|
212
|
+
"Insert nonincremental fenced block": {
|
|
213
|
+
prefix: "nonincremental fenced block",
|
|
214
|
+
body: [
|
|
215
|
+
"::: nonincremental",
|
|
216
|
+
"",
|
|
217
|
+
"${1:${TM_SELECTED_TEXT}}$0",
|
|
218
|
+
"",
|
|
219
|
+
":::"
|
|
220
|
+
],
|
|
221
|
+
description: "Insert nonincremental fenced block"
|
|
222
|
+
},
|
|
223
|
+
"Insert reference list": {
|
|
224
|
+
prefix: "reference list",
|
|
225
|
+
body: [
|
|
226
|
+
"::: {#refs}",
|
|
227
|
+
":::$0"
|
|
228
|
+
],
|
|
229
|
+
description: "Insert reference list"
|
|
230
|
+
},
|
|
231
|
+
"Insert bookdown theorem": {
|
|
232
|
+
prefix: "theorem",
|
|
233
|
+
body: [
|
|
234
|
+
"::: {.theorem #${1:label} name=\"${2:theorem name}\"}",
|
|
235
|
+
"${TM_SELECTED_TEXT}$0",
|
|
236
|
+
":::"
|
|
237
|
+
],
|
|
238
|
+
description: "Insert bookdown theorem"
|
|
239
|
+
},
|
|
240
|
+
"Cross-reference bookdown theorem": {
|
|
241
|
+
prefix: "cross-reference theorem",
|
|
242
|
+
body: [
|
|
243
|
+
"Theorem \\@ref(thm:${1:label})$0"
|
|
244
|
+
],
|
|
245
|
+
description: "Cross-reference bookdown theorem"
|
|
246
|
+
},
|
|
247
|
+
"Insert bookdown lemma": {
|
|
248
|
+
prefix: "lemma",
|
|
249
|
+
body: [
|
|
250
|
+
"::: {.lemma #${1:label} name=\"${2:lemma name}\"}",
|
|
251
|
+
"${TM_SELECTED_TEXT}$0",
|
|
252
|
+
":::"
|
|
253
|
+
],
|
|
254
|
+
description: "Insert bookdown lemma"
|
|
255
|
+
},
|
|
256
|
+
"Cross-reference bookdown lemma": {
|
|
257
|
+
prefix: "cross-reference lemma",
|
|
258
|
+
body: [
|
|
259
|
+
"Lemma \\@ref(lem:${1:label})$0"
|
|
260
|
+
],
|
|
261
|
+
description: "Cross-reference bookdown lemma"
|
|
262
|
+
},
|
|
263
|
+
"Insert bookdown corollary": {
|
|
264
|
+
prefix: "corollary",
|
|
265
|
+
body: [
|
|
266
|
+
"::: {.corollary #${1:label} name=\"${2:corollary name}\"}",
|
|
267
|
+
"${TM_SELECTED_TEXT}$0",
|
|
268
|
+
":::"
|
|
269
|
+
],
|
|
270
|
+
description: "Insert bookdown corollary"
|
|
271
|
+
},
|
|
272
|
+
"Cross-reference bookdown corollary": {
|
|
273
|
+
prefix: "cross-reference corollary",
|
|
274
|
+
body: [
|
|
275
|
+
"Corollary \\@ref(cor:${1:label})$0"
|
|
276
|
+
],
|
|
277
|
+
description: "Cross-reference bookdown corollary"
|
|
278
|
+
},
|
|
279
|
+
"Insert bookdown proposition": {
|
|
280
|
+
prefix: "proposition",
|
|
281
|
+
body: [
|
|
282
|
+
"::: {.proposition #${1:label} name=\"${2:proposition name}\"}",
|
|
283
|
+
"${TM_SELECTED_TEXT}$0",
|
|
284
|
+
":::"
|
|
285
|
+
],
|
|
286
|
+
description: "Insert bookdown proposition"
|
|
287
|
+
},
|
|
288
|
+
"Cross-reference bookdown proposition": {
|
|
289
|
+
prefix: "cross-reference proposition",
|
|
290
|
+
body: [
|
|
291
|
+
"Proposition \\@ref(prp:${1:label})$0"
|
|
292
|
+
],
|
|
293
|
+
description: "Cross-reference bookdown proposition"
|
|
294
|
+
},
|
|
295
|
+
"Insert bookdown conjecture": {
|
|
296
|
+
prefix: "conjecture",
|
|
297
|
+
body: [
|
|
298
|
+
"::: {.conjecture #${1:label} name=\"${2:conjecture name}\"}",
|
|
299
|
+
"${TM_SELECTED_TEXT}$0",
|
|
300
|
+
":::"
|
|
301
|
+
],
|
|
302
|
+
description: "Insert bookdown conjecture"
|
|
303
|
+
},
|
|
304
|
+
"Cross-reference bookdown conjecture": {
|
|
305
|
+
prefix: "cross-reference conjecture",
|
|
306
|
+
body: [
|
|
307
|
+
"Conjecture \\@ref(cnj:${1:label})$0"
|
|
308
|
+
],
|
|
309
|
+
description: "Cross-reference bookdown conjecture"
|
|
310
|
+
},
|
|
311
|
+
"Insert bookdown definition": {
|
|
312
|
+
prefix: "definition",
|
|
313
|
+
body: [
|
|
314
|
+
"::: {.definition #${1:label} name=\"${2:definition name}\"}",
|
|
315
|
+
"${TM_SELECTED_TEXT}$0",
|
|
316
|
+
":::"
|
|
317
|
+
],
|
|
318
|
+
description: "Insert bookdown definition"
|
|
319
|
+
},
|
|
320
|
+
"Cross-reference bookdown definition": {
|
|
321
|
+
prefix: "cross-reference definition",
|
|
322
|
+
body: [
|
|
323
|
+
"Definition \\@ref(def:${1:label})$0"
|
|
324
|
+
],
|
|
325
|
+
description: "Cross-reference bookdown definition"
|
|
326
|
+
},
|
|
327
|
+
"Insert bookdown example": {
|
|
328
|
+
prefix: "example",
|
|
329
|
+
body: [
|
|
330
|
+
"::: {.example #${1:label} name=\"${2:example name}\"}",
|
|
331
|
+
"${TM_SELECTED_TEXT}$0",
|
|
332
|
+
":::"
|
|
333
|
+
],
|
|
334
|
+
description: "Insert bookdown example"
|
|
335
|
+
},
|
|
336
|
+
"Cross-reference bookdown example": {
|
|
337
|
+
prefix: "cross-reference example",
|
|
338
|
+
body: [
|
|
339
|
+
"Example \\@ref(exm:${1:label})$0"
|
|
340
|
+
],
|
|
341
|
+
description: "Cross-reference bookdown example"
|
|
342
|
+
},
|
|
343
|
+
"Insert bookdown exercise": {
|
|
344
|
+
prefix: "exercise",
|
|
345
|
+
body: [
|
|
346
|
+
"::: {.exercise #${1:label} name=\"${2:exercise name}\"}",
|
|
347
|
+
"${TM_SELECTED_TEXT}$0",
|
|
348
|
+
":::"
|
|
349
|
+
],
|
|
350
|
+
description: "Insert bookdown exercise"
|
|
351
|
+
},
|
|
352
|
+
"Cross-reference bookdown exercise": {
|
|
353
|
+
prefix: "cross-reference exercise",
|
|
354
|
+
body: [
|
|
355
|
+
"Exercise \\@ref(exr:${1:label})$0"
|
|
356
|
+
],
|
|
357
|
+
description: "Cross-reference bookdown exercise"
|
|
358
|
+
},
|
|
359
|
+
"Insert bookdown hypothesis": {
|
|
360
|
+
prefix: "hypothesis",
|
|
361
|
+
body: [
|
|
362
|
+
"::: {.hypothesis #${1:label} name=\"${2:hypothesis name}\"}",
|
|
363
|
+
"${TM_SELECTED_TEXT}$0",
|
|
364
|
+
":::"
|
|
365
|
+
],
|
|
366
|
+
description: "Insert bookdown hypothesis"
|
|
367
|
+
},
|
|
368
|
+
"Cross-reference bookdown hypothesis": {
|
|
369
|
+
prefix: "cross-reference hypothesis",
|
|
370
|
+
body: [
|
|
371
|
+
"Hypothesis \\@ref(hyp:${1:label})$0"
|
|
372
|
+
],
|
|
373
|
+
description: "Cross-reference bookdown hypothesis"
|
|
374
|
+
},
|
|
375
|
+
"Insert bookdown equation": {
|
|
376
|
+
prefix: "equation",
|
|
377
|
+
body: [
|
|
378
|
+
"\\begin{equation}",
|
|
379
|
+
"${TM_SELECTED_TEXT}$0",
|
|
380
|
+
"(\\#eq:${1:label})",
|
|
381
|
+
"\\end{equation}"
|
|
382
|
+
],
|
|
383
|
+
description: "Insert bookdown equation"
|
|
384
|
+
},
|
|
385
|
+
"Cross-reference bookdown equation": {
|
|
386
|
+
prefix: "cross-reference equation",
|
|
387
|
+
body: [
|
|
388
|
+
"Equation \\@ref(eq:${1:label})$0"
|
|
389
|
+
],
|
|
390
|
+
description: "Cross-reference bookdown equation"
|
|
391
|
+
},
|
|
392
|
+
"Cross-reference bookdown table": {
|
|
393
|
+
prefix: "cross-reference table",
|
|
394
|
+
body: [
|
|
395
|
+
"Table \\@ref(tab:${1:label})$0"
|
|
396
|
+
],
|
|
397
|
+
description: "Cross-reference bookdown table"
|
|
398
|
+
},
|
|
399
|
+
"Insert figure chunk": {
|
|
400
|
+
prefix: "figure chunk",
|
|
401
|
+
body: [
|
|
402
|
+
"```{r ${1:label}, fig.cap = \"${2:Figure caption.}\", fig.alt = \"${3:Alt text.}\"}",
|
|
403
|
+
"${TM_SELECTED_TEXT}$0",
|
|
404
|
+
"```"
|
|
405
|
+
],
|
|
406
|
+
description: "Insert figure chunk"
|
|
407
|
+
},
|
|
408
|
+
"Insert external figure chunk": {
|
|
409
|
+
prefix: "external figure chunk",
|
|
410
|
+
body: [
|
|
411
|
+
"```{r ${1:label}, fig.cap = \"${2:Figure caption.}\", fig.alt = \"${3:Alt text.}\"}",
|
|
412
|
+
"knitr::include_graphics(\"${4:path/to/file.png}\")",
|
|
413
|
+
"```"
|
|
414
|
+
],
|
|
415
|
+
description: "Insert external figure chunk"
|
|
416
|
+
},
|
|
417
|
+
"Cross-reference bookdown figure": {
|
|
418
|
+
prefix: "cross-reference figure",
|
|
419
|
+
body: [
|
|
420
|
+
"Figure \\@ref(fig:${1:label})$0"
|
|
421
|
+
],
|
|
422
|
+
description: "Cross-reference bookdown figure"
|
|
423
|
+
},
|
|
424
|
+
"Insert bookdown section label": {
|
|
425
|
+
prefix: "section label",
|
|
426
|
+
body: [
|
|
427
|
+
"${TM_SELECTED_TEXT} {#${1:label}}$0"
|
|
428
|
+
],
|
|
429
|
+
description: "Insert bookdown section label"
|
|
430
|
+
},
|
|
431
|
+
"Cross-reference bookdown section": {
|
|
432
|
+
prefix: "cross-reference section",
|
|
433
|
+
body: [
|
|
434
|
+
"Section \\@ref(${1:label})$0"
|
|
435
|
+
],
|
|
436
|
+
description: "Cross-reference bookdown section"
|
|
437
|
+
},
|
|
438
|
+
"Insert bookdown part": {
|
|
439
|
+
prefix: "part",
|
|
440
|
+
body: [
|
|
441
|
+
"# (PART) Part ${1:I} {-}$0"
|
|
442
|
+
],
|
|
443
|
+
description: "Insert bookdown part"
|
|
444
|
+
},
|
|
445
|
+
"Insert unnumbered bookdown part": {
|
|
446
|
+
prefix: "unnumbered part",
|
|
447
|
+
body: [
|
|
448
|
+
"# (PART\\*) Part ${1:I} {-}$0"
|
|
449
|
+
],
|
|
450
|
+
description: "Insert bookdown unnumbered part"
|
|
451
|
+
},
|
|
452
|
+
"Insert bookdown appendix": {
|
|
453
|
+
prefix: "appendix",
|
|
454
|
+
body: [
|
|
455
|
+
"# (APPENDIX) Appendix {-}$0"
|
|
456
|
+
],
|
|
457
|
+
description: "Insert bookdown appendix"
|
|
88
458
|
}
|
|
89
459
|
};
|
|
90
460
|
|