@codingame/monaco-editor-wrapper 1.3.0 → 1.4.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/JavaScript.tmLanguage.js +22 -1
- package/dist/JavaScriptReact.tmLanguage.js +22 -1
- package/dist/TypeScript.tmLanguage.js +22 -1
- package/dist/TypeScriptReact.tmLanguage.js +22 -1
- package/dist/angular.js +56 -0
- package/dist/buildtarget.js +53 -0
- package/dist/clojure.tmLanguage.js +11 -15
- package/dist/cobol2.js +80 -0
- package/dist/cpptools.js +2320 -0
- package/dist/csharp.tmLanguage.js +5 -5
- package/dist/d2.js +2 -66
- package/dist/d3.js +526 -0
- package/dist/dart3.js +966 -0
- package/dist/dcf.js +3 -3
- package/dist/elixir3.js +40 -0
- package/dist/erlang2.js +92 -0
- package/dist/features/extensionConfigurations.d.ts +1 -0
- package/dist/features/extensionConfigurations.js +79 -9162
- package/dist/fsharp.tmLanguage.js +10 -1
- package/dist/haskell2.js +16 -0
- package/dist/java2.js +704 -0
- package/dist/javascript.js +83 -2
- package/dist/javascriptreact.js +83 -2
- package/dist/jsx-tags.js +51 -2
- package/dist/jvm-bytecode-verbose.js +1231 -0
- package/dist/jvm-bytecode.js +565 -0
- package/dist/languages/extensions/extensionConfigurationLoader.d.ts +3 -0
- package/dist/languages/extensions/grammarLoader.d.ts +2 -101920
- package/dist/languages/extensions/languageConfigurationLoader.d.ts +3 -0
- package/dist/languages/extensions/snippetLoader.d.ts +3 -5606
- package/dist/lua2.js +1511 -0
- package/dist/main.js +154 -98
- package/dist/ocaml3.js +145 -0
- package/dist/omnisharp.js +522 -0
- package/dist/pascal2.js +26 -0
- package/dist/postgresql.js +75 -0
- package/dist/rmd.js +8 -1
- package/dist/scalameta.js +177 -0
- package/dist/solargraph.js +192 -0
- package/dist/sql.js +9 -2
- package/dist/tasty.js +72 -0
- package/dist/typescript-language-features.js +998 -0
- package/dist/typescript.js +83 -2
- package/dist/typescriptreact.js +83 -2
- package/dist/verilog2.js +94 -0
- package/dist/vscode-R.js +519 -0
- package/dist/vscode-groovy.js +28 -0
- package/dist/vscode-python.js +677 -0
- package/package.json +13 -12
- package/stats.html +205 -795
- package/dist/languages/extensions/configurationLoader.d.ts +0 -1318
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
var scalameta = [
|
|
2
|
+
{
|
|
3
|
+
"title": "Metals",
|
|
4
|
+
"properties": {
|
|
5
|
+
"metals.serverVersion": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"default": "0.11.1+97-0ef9a93b-SNAPSHOT",
|
|
8
|
+
"markdownDescription": "The version of the Metals server artifact. Requires reloading the window.\n\n**Change only if you know what you're doing**",
|
|
9
|
+
"scope": 3
|
|
10
|
+
},
|
|
11
|
+
"metals.serverProperties": {
|
|
12
|
+
"type": "array",
|
|
13
|
+
"items": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"default": [
|
|
17
|
+
"-Xmx1G"
|
|
18
|
+
],
|
|
19
|
+
"markdownDescription": "Optional list of properties to pass along to the Metals server. By default, the environment variable `JAVA_OPTS` and `.jvmopts` file are respected. Each property needs to be a separate item.\n\nExample: `-Dhttps.proxyHost=…`, `-Dhttps.proxyPort=…` or `-Dmetals.statistics=all`",
|
|
20
|
+
"scope": 3
|
|
21
|
+
},
|
|
22
|
+
"metals.ammoniteJvmProperties": {
|
|
23
|
+
"type": "array",
|
|
24
|
+
"items": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"markdownDescription": "Optional list of JVM properties to pass along to the Ammonite server. Each property needs to be a separate item.\n\nExample: `-Xmx1G` or `-Xms100M`",
|
|
28
|
+
"scope": 3
|
|
29
|
+
},
|
|
30
|
+
"metals.excludedPackages": {
|
|
31
|
+
"type": "array",
|
|
32
|
+
"default": [],
|
|
33
|
+
"markdownDescription": "List of packages you'd like to be left out of completions, symbol searches, and code actions.\n\nEx. `akka.actor.typed.javadsl` will ensure nothing in the `javadsl` package gets recommended to you.\n\nYou can find the list of default exclusions [here on the Metals website](https://scalameta.org/metals/docs/editors/new-editor.html#excluded-packages).\n\nIf you need to remove one of the defaults, you can simply include it and preface it with `--`.",
|
|
34
|
+
"scope": 3
|
|
35
|
+
},
|
|
36
|
+
"metals.showInferredType": {
|
|
37
|
+
"type": "boolean",
|
|
38
|
+
"markdownDescription": "When this option is enabled, for each method that have inferred types that are not explicitely specified they are displayed as additional decorations.",
|
|
39
|
+
"scope": 3
|
|
40
|
+
},
|
|
41
|
+
"metals.showImplicitArguments": {
|
|
42
|
+
"type": "boolean",
|
|
43
|
+
"markdownDescription": "When this option is enabled, for each method that has implicit arguments they are displayed as additional decorations.",
|
|
44
|
+
"scope": 3
|
|
45
|
+
},
|
|
46
|
+
"metals.showImplicitConversionsAndClasses": {
|
|
47
|
+
"type": "boolean",
|
|
48
|
+
"markdownDescription": "When this option is enabled, each implicit method and class is displayed as additional decorations at the usage site.",
|
|
49
|
+
"scope": 3
|
|
50
|
+
},
|
|
51
|
+
"metals.javaHome": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"scope": 6,
|
|
54
|
+
"markdownDescription": "Optional path to the Java home directory. Requires reloading the window.\n\nDefaults to the most recent Java version between 8 and 17 (inclusive) computed by the `locate-java-home` npm package."
|
|
55
|
+
},
|
|
56
|
+
"metals.sbtScript": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"markdownDescription": "Optional absolute path to an `sbt` executable to use for running `sbt bloopInstall`.\n\nBy default, Metals uses `java -jar sbt-launch.jar` with an embedded launcher while respecting `.jvmopts` and `.sbtopts`.\n\nUpdate this setting if your `sbt` script requires more customizations like using environment variables.",
|
|
59
|
+
"scope": 3
|
|
60
|
+
},
|
|
61
|
+
"metals.millScript": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"markdownDescription": "Optional absolute path to a `mill` executable to use for running `mill mill.contrib.Bloop/install`.\n\nBy default, Metals uses an embedded `millw` script while respecting `.mill-version` file.\n\nUpdate this setting if your `mill` script requires more customizations.",
|
|
64
|
+
"scope": 3
|
|
65
|
+
},
|
|
66
|
+
"metals.mavenScript": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"markdownDescription": "Optional absolute path to a `mvn` executable to use for running `mvn ch.epfl.scala:maven-bloop_2.10:<bloop_version>:bloopInstall`.\n\nBy default, Metals uses an embedded `mvnw` script.\n\nUpdate this setting if your `mvn` script requires more customizations.",
|
|
69
|
+
"scope": 3
|
|
70
|
+
},
|
|
71
|
+
"metals.gradleScript": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"markdownDescription": "Optional absolute path to a `gradle` executable to use for running `gradle bloopInstall`.\n\nBy default, Metals uses an embedded `gradlew` script.\n\nUpdate this setting if your `gradle` script requires more customizations.",
|
|
74
|
+
"scope": 3
|
|
75
|
+
},
|
|
76
|
+
"metals.scalafmtConfigPath": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"markdownDescription": "Optional custom path to the .scalafmt.conf file.\n\nShould be an absolute path and use forward slashes `/` for file separators (even on Windows).",
|
|
79
|
+
"scope": 3
|
|
80
|
+
},
|
|
81
|
+
"metals.scalafixConfigPath": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"markdownDescription": "Optional custom path to the .scalafix.conf file.\n\nShould be an absolute path and use forward slashes `/` for file separators (even on Windows).",
|
|
84
|
+
"scope": 3
|
|
85
|
+
},
|
|
86
|
+
"metals.bloopVersion": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"markdownDescription": "This version will be used for the Bloop build tool plugin, for any supported build tool,while importing in Metals as well as for running the embedded server",
|
|
89
|
+
"scope": 3
|
|
90
|
+
},
|
|
91
|
+
"metals.bloopSbtAlreadyInstalled": {
|
|
92
|
+
"type": "boolean",
|
|
93
|
+
"markdownDescription": "If true, Metals will not generate a `project/metals.sbt` file under the assumption that sbt-bloop is already manually installed in the sbt build. Build import will fail with a 'not valid command bloopInstall' error in case Bloop is not manually installed in the build when using this option.",
|
|
94
|
+
"scope": 3
|
|
95
|
+
},
|
|
96
|
+
"metals.customRepositories": {
|
|
97
|
+
"type": "array",
|
|
98
|
+
"items": {
|
|
99
|
+
"type": "string"
|
|
100
|
+
},
|
|
101
|
+
"markdownDescription": "Optional list of custom resolvers passed to Coursier when fetching metals dependencies.\n\nFor documentation on accepted values see the [Coursier documentation](https://get-coursier.io/docs/other-repositories).\n\nThe extension will pass these to Coursier using the COURSIER_REPOSITORIES environment variable after joining the custom repositories with a pipe character (|).",
|
|
102
|
+
"scope": 3
|
|
103
|
+
},
|
|
104
|
+
"metals.superMethodLensesEnabled": {
|
|
105
|
+
"type": "boolean",
|
|
106
|
+
"default": true,
|
|
107
|
+
"description": "Enable/disable goto super method code lens.",
|
|
108
|
+
"scope": 3
|
|
109
|
+
},
|
|
110
|
+
"metals.enableStripMarginOnTypeFormatting": {
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"default": true,
|
|
113
|
+
"markdownDescription": "When enabled, if you press the return key from the first line of a multiline string containing a pipe, it will automatically add `.stripMargin`.",
|
|
114
|
+
"scope": 3
|
|
115
|
+
},
|
|
116
|
+
"metals.enableIndentOnPaste": {
|
|
117
|
+
"type": "boolean",
|
|
118
|
+
"default": false,
|
|
119
|
+
"markdownDescription": "When this option is enabled, when user pastes any snippet into a Scala file, Metals will try to adjust the indentation to that of the current cursor.",
|
|
120
|
+
"scope": 3
|
|
121
|
+
},
|
|
122
|
+
"metals.testUserInterface": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"default": "Test Explorer",
|
|
125
|
+
"enum": [
|
|
126
|
+
"Test Explorer",
|
|
127
|
+
"Code Lenses"
|
|
128
|
+
],
|
|
129
|
+
"markdownDescription": "Specifies which UI should be used for tests. `Code lenses` shows virtual text above test class, just like it was previously. `Test explorer` is a new option which shows gutter icons on the left of the file in a less intrusive way. Moreover, this option comes with a new panel called `Testing` which lists all test suites in your codebase and allows you to browse tests and navigate to the file which contains them.",
|
|
130
|
+
"scope": 3
|
|
131
|
+
},
|
|
132
|
+
"metals.fallbackScalaVersion": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"default": "automatic",
|
|
135
|
+
"enum": [
|
|
136
|
+
"automatic",
|
|
137
|
+
"2.13.8",
|
|
138
|
+
"2.13.7",
|
|
139
|
+
"2.13.6",
|
|
140
|
+
"2.13.5",
|
|
141
|
+
"2.13.4",
|
|
142
|
+
"2.13.3",
|
|
143
|
+
"2.13.2",
|
|
144
|
+
"2.13.1",
|
|
145
|
+
"2.12.15",
|
|
146
|
+
"2.12.14",
|
|
147
|
+
"2.12.13",
|
|
148
|
+
"2.12.12",
|
|
149
|
+
"2.12.11",
|
|
150
|
+
"2.12.10",
|
|
151
|
+
"2.12.9",
|
|
152
|
+
"2.12.8",
|
|
153
|
+
"2.11.12",
|
|
154
|
+
"3.1.1-RC1",
|
|
155
|
+
"3.1.0",
|
|
156
|
+
"3.0.2",
|
|
157
|
+
"3.0.1",
|
|
158
|
+
"3.0.0"
|
|
159
|
+
],
|
|
160
|
+
"markdownDescription": "The Scala compiler version that is used as the default or fallback in case a file doesn't belong to any build target or the specified Scala version isn't supported by Metals.\n\nThis applies to standalone Scala files, worksheets, and Ammonite scripts.\n\n The `automatic` value means that the Scala version for these files will be inferred from the highest supported Scala version in your projects build definition",
|
|
161
|
+
"scope": 3
|
|
162
|
+
},
|
|
163
|
+
"metals.javaFormat.eclipseConfigPath": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"markdownDescription": "Optional custom path to the eclipse-formatter.xml file.\n\nShould be an absolute path and use forward slashes `/` for file separators (even on Windows).",
|
|
166
|
+
"scope": 3
|
|
167
|
+
},
|
|
168
|
+
"metals.javaFormat.eclipseProfile": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"markdownDescription": "Optional Eclipse format profile to use.",
|
|
171
|
+
"scope": 3
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
];
|
|
176
|
+
|
|
177
|
+
export { scalameta as default };
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
var solargraph = [
|
|
2
|
+
{
|
|
3
|
+
"title": "Solargraph settings for Ruby",
|
|
4
|
+
"properties": {
|
|
5
|
+
"solargraph.transport": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"default": "socket",
|
|
8
|
+
"enum": [
|
|
9
|
+
"socket",
|
|
10
|
+
"stdio",
|
|
11
|
+
"external"
|
|
12
|
+
],
|
|
13
|
+
"description": "The type of transport to use.",
|
|
14
|
+
"scope": 3
|
|
15
|
+
},
|
|
16
|
+
"solargraph.externalServer": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"description": "The host and port to use for external transports. (Ignored for stdio and socket transports.)",
|
|
19
|
+
"properties": {
|
|
20
|
+
"host": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"default": "localhost"
|
|
23
|
+
},
|
|
24
|
+
"port": {
|
|
25
|
+
"type": "integer",
|
|
26
|
+
"default": 7658
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"default": {
|
|
30
|
+
"host": "localhost",
|
|
31
|
+
"port": 7658
|
|
32
|
+
},
|
|
33
|
+
"scope": 3
|
|
34
|
+
},
|
|
35
|
+
"solargraph.commandPath": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"default": "solargraph",
|
|
38
|
+
"description": "Path to the solargraph command. Set this to an absolute path to select from multiple installed Ruby versions.",
|
|
39
|
+
"scope": 4
|
|
40
|
+
},
|
|
41
|
+
"solargraph.useBundler": {
|
|
42
|
+
"type": "boolean",
|
|
43
|
+
"description": "Use `bundle exec` to run solargraph. (If this is true, the solargraph.commandPath setting is ignored.)",
|
|
44
|
+
"default": false,
|
|
45
|
+
"scope": 3
|
|
46
|
+
},
|
|
47
|
+
"solargraph.bundlerPath": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"description": "Path to the bundle executable, defaults to 'bundle'. Needs to be an absolute path for the 'bundle' exec/shim",
|
|
50
|
+
"default": "bundle",
|
|
51
|
+
"scope": 4
|
|
52
|
+
},
|
|
53
|
+
"solargraph.checkGemVersion": {
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"description": "Automatically check if a new version of the Solargraph gem is available.",
|
|
56
|
+
"default": true,
|
|
57
|
+
"enum": [
|
|
58
|
+
true,
|
|
59
|
+
false
|
|
60
|
+
],
|
|
61
|
+
"scope": 3
|
|
62
|
+
},
|
|
63
|
+
"solargraph.completion": {
|
|
64
|
+
"type": [
|
|
65
|
+
"boolean"
|
|
66
|
+
],
|
|
67
|
+
"description": "Enable completion",
|
|
68
|
+
"default": true,
|
|
69
|
+
"enum": [
|
|
70
|
+
true,
|
|
71
|
+
false
|
|
72
|
+
],
|
|
73
|
+
"scope": 3
|
|
74
|
+
},
|
|
75
|
+
"solargraph.hover": {
|
|
76
|
+
"type": [
|
|
77
|
+
"boolean"
|
|
78
|
+
],
|
|
79
|
+
"description": "Enable hover",
|
|
80
|
+
"default": true,
|
|
81
|
+
"enum": [
|
|
82
|
+
true,
|
|
83
|
+
false
|
|
84
|
+
],
|
|
85
|
+
"scope": 3
|
|
86
|
+
},
|
|
87
|
+
"solargraph.diagnostics": {
|
|
88
|
+
"type": [
|
|
89
|
+
"boolean"
|
|
90
|
+
],
|
|
91
|
+
"description": "Enable diagnostics",
|
|
92
|
+
"default": true,
|
|
93
|
+
"enum": [
|
|
94
|
+
true,
|
|
95
|
+
false
|
|
96
|
+
],
|
|
97
|
+
"scope": 3
|
|
98
|
+
},
|
|
99
|
+
"solargraph.autoformat": {
|
|
100
|
+
"type": [
|
|
101
|
+
"boolean"
|
|
102
|
+
],
|
|
103
|
+
"description": "Enable automatic formatting while typing (WARNING: experimental)",
|
|
104
|
+
"default": false,
|
|
105
|
+
"enum": [
|
|
106
|
+
true,
|
|
107
|
+
false
|
|
108
|
+
],
|
|
109
|
+
"scope": 3
|
|
110
|
+
},
|
|
111
|
+
"solargraph.formatting": {
|
|
112
|
+
"type": [
|
|
113
|
+
"boolean"
|
|
114
|
+
],
|
|
115
|
+
"description": "Enable document formatting",
|
|
116
|
+
"enum": [
|
|
117
|
+
true,
|
|
118
|
+
false
|
|
119
|
+
],
|
|
120
|
+
"default": true,
|
|
121
|
+
"scope": 3
|
|
122
|
+
},
|
|
123
|
+
"solargraph.symbols": {
|
|
124
|
+
"type": [
|
|
125
|
+
"boolean"
|
|
126
|
+
],
|
|
127
|
+
"description": "Enable symbols",
|
|
128
|
+
"enum": [
|
|
129
|
+
true,
|
|
130
|
+
false
|
|
131
|
+
],
|
|
132
|
+
"default": true,
|
|
133
|
+
"scope": 3
|
|
134
|
+
},
|
|
135
|
+
"solargraph.definitions": {
|
|
136
|
+
"type": [
|
|
137
|
+
"boolean"
|
|
138
|
+
],
|
|
139
|
+
"description": "Enable definitions (go to, etc.)",
|
|
140
|
+
"enum": [
|
|
141
|
+
true,
|
|
142
|
+
false
|
|
143
|
+
],
|
|
144
|
+
"default": true,
|
|
145
|
+
"scope": 3
|
|
146
|
+
},
|
|
147
|
+
"solargraph.rename": {
|
|
148
|
+
"type": [
|
|
149
|
+
"boolean"
|
|
150
|
+
],
|
|
151
|
+
"description": "Enable symbol renaming",
|
|
152
|
+
"enum": [
|
|
153
|
+
true,
|
|
154
|
+
false
|
|
155
|
+
],
|
|
156
|
+
"default": true,
|
|
157
|
+
"scope": 3
|
|
158
|
+
},
|
|
159
|
+
"solargraph.references": {
|
|
160
|
+
"type": [
|
|
161
|
+
"boolean"
|
|
162
|
+
],
|
|
163
|
+
"description": "Enable finding references",
|
|
164
|
+
"enum": [
|
|
165
|
+
true,
|
|
166
|
+
false
|
|
167
|
+
],
|
|
168
|
+
"default": true,
|
|
169
|
+
"scope": 3
|
|
170
|
+
},
|
|
171
|
+
"solargraph.folding": {
|
|
172
|
+
"type": "boolean",
|
|
173
|
+
"description": "Enable folding ranges",
|
|
174
|
+
"default": true,
|
|
175
|
+
"scope": 3
|
|
176
|
+
},
|
|
177
|
+
"solargraph.logLevel": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"description": "Level of debug info to log. `warn` is least and `debug` is most.",
|
|
180
|
+
"enum": [
|
|
181
|
+
"warn",
|
|
182
|
+
"info",
|
|
183
|
+
"debug"
|
|
184
|
+
],
|
|
185
|
+
"default": "warn",
|
|
186
|
+
"scope": 3
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
];
|
|
191
|
+
|
|
192
|
+
export { solargraph as default };
|
package/dist/sql.js
CHANGED
|
@@ -82,11 +82,18 @@ var surroundingPairs = [
|
|
|
82
82
|
"`"
|
|
83
83
|
]
|
|
84
84
|
];
|
|
85
|
+
var folding = {
|
|
86
|
+
markers: {
|
|
87
|
+
start: "^\\s*--\\s*#region\\b",
|
|
88
|
+
end: "^\\s*--\\s*#endregion\\b"
|
|
89
|
+
}
|
|
90
|
+
};
|
|
85
91
|
var sql = {
|
|
86
92
|
comments: comments,
|
|
87
93
|
brackets: brackets,
|
|
88
94
|
autoClosingPairs: autoClosingPairs,
|
|
89
|
-
surroundingPairs: surroundingPairs
|
|
95
|
+
surroundingPairs: surroundingPairs,
|
|
96
|
+
folding: folding
|
|
90
97
|
};
|
|
91
98
|
|
|
92
|
-
export { autoClosingPairs, brackets, comments, sql as default, surroundingPairs };
|
|
99
|
+
export { autoClosingPairs, brackets, comments, sql as default, folding, surroundingPairs };
|
package/dist/tasty.js
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
var $schema = "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json";
|
|
2
|
+
var name = "TASTy";
|
|
3
|
+
var extensions = [
|
|
4
|
+
".tasty-decoded"
|
|
5
|
+
];
|
|
6
|
+
var scopeName = "source.tasty";
|
|
7
|
+
var patterns = [
|
|
8
|
+
{
|
|
9
|
+
include: "#trees"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
include: "#keywords"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
include: "#lines"
|
|
16
|
+
}
|
|
17
|
+
];
|
|
18
|
+
var repository = {
|
|
19
|
+
trees: {
|
|
20
|
+
patterns: [
|
|
21
|
+
{
|
|
22
|
+
name: "constant.language.tasty",
|
|
23
|
+
match: "\\b(UNITconst|FALSEconst|TRUEconst|NULLconst|BYTEconst|SHORTconst|CHARconst|INTconst|LONGconst|FLOATconst|DOUBLEconst|STRINGconst)\\b"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: "keyword.control.tasty",
|
|
27
|
+
match: "\\b(IF|WHILE|TRY|RETURN|THROW|NEW)\\b"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
name: "support.function",
|
|
31
|
+
match: "\\b(VALDEF|DEFDEF|TYPEDEF)\\b"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
keywords: {
|
|
36
|
+
patterns: [
|
|
37
|
+
{
|
|
38
|
+
name: "constant.language",
|
|
39
|
+
match: "\\b(Names|Trees)\\b"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: "entity.name.type",
|
|
43
|
+
match: "\\b[A-Z]+[a-z]*\\b"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
lines: {
|
|
48
|
+
patterns: [
|
|
49
|
+
{
|
|
50
|
+
comment: "Position indicator",
|
|
51
|
+
name: "comment.line",
|
|
52
|
+
match: "[0-9]+:"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
var information_for_contributors = [
|
|
58
|
+
"This file has been converted from https://github.com/scalameta/metals-vscode/blob/master/",
|
|
59
|
+
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
60
|
+
"Once accepted there, we are happy to receive an update request."
|
|
61
|
+
];
|
|
62
|
+
var tasty = {
|
|
63
|
+
$schema: $schema,
|
|
64
|
+
name: name,
|
|
65
|
+
extensions: extensions,
|
|
66
|
+
scopeName: scopeName,
|
|
67
|
+
patterns: patterns,
|
|
68
|
+
repository: repository,
|
|
69
|
+
information_for_contributors: information_for_contributors
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export { $schema, tasty as default, extensions, information_for_contributors, name, patterns, repository, scopeName };
|