Skip to content

Commit 4bd8004

Browse files
committed
chore: Regenerate extensions
1 parent c5aab79 commit 4bd8004

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+7757
-5458
lines changed

src/languages/extensions/configurations/cobol.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,33 @@
3434
"uniqueItems": true,
3535
"scope": 3
3636
},
37+
"cobol-lsp.cpy-manager.daco.paths-local": {
38+
"type": "array",
39+
"items": {
40+
"type": "string"
41+
},
42+
"description": "Default list of relative local paths to search for MAID copybooks",
43+
"uniqueItems": true,
44+
"scope": 3
45+
},
46+
"cobol-lsp.cpy-manager.daco.paths-dsn": {
47+
"type": "array",
48+
"items": {
49+
"type": "string"
50+
},
51+
"description": "Default list of datasets to search for MAID copybooks\nZowe Explorer version 1.15.0 or higher is required to download copybooks from the mainframe",
52+
"uniqueItems": true,
53+
"scope": 3
54+
},
55+
"cobol-lsp.cpy-manager.daco.paths-uss": {
56+
"type": "array",
57+
"items": {
58+
"type": "string"
59+
},
60+
"description": "Default list of USS paths to search for MAID copybooks\nZowe Explorer version 1.15.0 or higher is required to download copybooks from the mainframe",
61+
"uniqueItems": true,
62+
"scope": 3
63+
},
3764
"cobol-lsp.cpy-manager.idms.paths-local": {
3865
"type": "array",
3966
"items": {
@@ -253,12 +280,31 @@
253280
"items": {
254281
"type": "string",
255282
"enum": [
283+
"DaCo",
256284
"IDMS"
257285
]
258286
},
259287
"description": "List of enabled dialects",
260288
"uniqueItems": true,
261289
"scope": 3
290+
},
291+
"cobol-lsp.predefined-sections": {
292+
"type": "array",
293+
"items": {
294+
"type": "string"
295+
},
296+
"description": "List of predefined sections",
297+
"default": [
298+
"S930",
299+
"S940",
300+
"S950",
301+
"S990",
302+
"S991",
303+
"S997",
304+
"S999"
305+
],
306+
"uniqueItems": true,
307+
"scope": 3
262308
}
263309
}
264310
}

src/languages/extensions/configurations/ocaml.json

Lines changed: 89 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -1,141 +1,125 @@
11
[
22
{
3-
"type": "object",
4-
"title": "Reason configuration",
3+
"title": "OCaml Platform",
54
"properties": {
6-
"reason.codelens.unicode": {
7-
"type": "boolean",
8-
"default": true,
9-
"description": "Enable the use of unicode symbols in codelens.",
10-
"scope": 3
11-
},
12-
"reason.codelens.enabled": {
13-
"type": "boolean",
14-
"default": false,
15-
"description": "Specifies whether the code lens is shown.",
16-
"scope": 3
17-
},
18-
"reason.debounce.linter": {
19-
"oneOf": [
20-
{
21-
"type": "integer"
22-
},
23-
{
24-
"enum": [
25-
"Infinity"
26-
]
27-
}
28-
],
29-
"default": 500,
30-
"description": "How long to idle (in milliseconds) after keypresses before refreshing linter diagnostics. Smaller values refresh diagnostics more quickly.",
31-
"scope": 3
32-
},
33-
"reason.diagnostics.tools": {
34-
"type": "array",
35-
"items": {
36-
"enum": [
37-
"merlin",
38-
"bsb"
39-
]
40-
},
41-
"default": [
42-
"merlin"
43-
],
44-
"maxItems": 2,
45-
"uniqueItems": true,
46-
"description": "Specifies which tool or tools will be used to get diagnostics. If you choose both \"merlin\" and \"bsb\", merlin will be used while editing and bsb when saving.",
5+
"ocaml.sandbox": {
6+
"type": "object",
7+
"default": null,
8+
"description": "Determines where to find the sandbox for a given project",
479
"scope": 3
4810
},
49-
"reason.format.width": {
11+
"ocaml.server.extraEnv": {
5012
"type": [
51-
"number",
52-
null
13+
"null",
14+
"object"
5315
],
5416
"default": null,
55-
"description": "Set the width of lines when formatting code with refmt",
17+
"markdownDescription": "Extra environment variables that will be passed to OCaml LSP executable. Useful for debugging purposes mostly.",
5618
"scope": 3
5719
},
58-
"reason.path.bsb": {
59-
"type": "string",
60-
"default": "./node_modules/bs-platform/lib/bsb.exe",
61-
"description": "The path to the `bsb` binary.",
20+
"ocaml.dune.autoDetect": {
21+
"type": "boolean",
22+
"default": true,
23+
"description": "Controls whether dune tasks should be automatically detected.",
6224
"scope": 3
6325
},
64-
"reason.path.ocamlfind": {
26+
"ocaml.trace.server": {
27+
"description": "Controls the logging output of the language server. Valid settings are `off`, `messages`, or `verbose`.",
6528
"type": "string",
66-
"default": "ocamlfind",
67-
"description": "The path to the `ocamlfind` binary.",
29+
"enum": [
30+
"off",
31+
"messages",
32+
"verbose"
33+
],
34+
"default": "off",
6835
"scope": 3
6936
},
70-
"reason.path.esy": {
71-
"type": "string",
72-
"default": "esy",
73-
"description": "The path to the `esy` binary.",
37+
"ocaml.useOcamlEnv": {
38+
"type": "boolean",
39+
"default": true,
40+
"description": "Controls whether to use ocaml-env for opam commands from OCaml for Windows.",
7441
"scope": 3
7542
},
76-
"reason.path.env": {
77-
"type": "string",
78-
"default": "env",
79-
"description": "The path to the `env` command which prints the language server environment for debugging editor issues.",
43+
"ocaml.terminal.shell.linux": {
44+
"description": "The path of the shell that the sandbox terminal uses on Linux",
45+
"type": [
46+
"string",
47+
"null"
48+
],
49+
"default": null,
8050
"scope": 3
8151
},
82-
"reason.path.ocamlmerlin": {
83-
"type": "string",
84-
"default": "ocamlmerlin",
85-
"description": "The path to the `ocamlmerlin` binary.",
52+
"ocaml.terminal.shell.osx": {
53+
"description": "The path of the shell that the sandbox terminal uses on macOS",
54+
"type": [
55+
"string",
56+
"null"
57+
],
58+
"default": null,
8659
"scope": 3
8760
},
88-
"reason.path.ocpindent": {
89-
"type": "string",
90-
"default": "ocp-indent",
91-
"description": "The path to the `ocp-indent` binary.",
61+
"ocaml.terminal.shell.windows": {
62+
"description": "The path of the shell that the sandbox terminal uses on Windows",
63+
"type": [
64+
"string",
65+
"null"
66+
],
67+
"default": null,
9268
"scope": 3
9369
},
94-
"reason.path.opam": {
95-
"type": "string",
96-
"default": "opam",
97-
"description": "The path to the `opam` binary.",
70+
"ocaml.terminal.shellArgs.linux": {
71+
"description": "The command line arguments that the sandbox terminal uses on Linux",
72+
"type": [
73+
"array",
74+
"null"
75+
],
76+
"items": "string",
77+
"default": null,
9878
"scope": 3
9979
},
100-
"reason.path.rebuild": {
101-
"type": "string",
102-
"default": "rebuild",
103-
"description": "The path to the `rebuild` binary.",
80+
"ocaml.terminal.shellArgs.osx": {
81+
"description": "The command line arguments that the sandbox terminal uses on macOS",
82+
"type": [
83+
"array",
84+
"null"
85+
],
86+
"items": "string",
87+
"default": null,
10488
"scope": 3
10589
},
106-
"reason.path.refmt": {
107-
"type": "string",
108-
"default": "refmt",
109-
"description": "The path to the `refmt` binary.",
90+
"ocaml.terminal.shellArgs.windows": {
91+
"description": "The command line arguments that the sandbox terminal uses on Window",
92+
"type": [
93+
"array",
94+
"null"
95+
],
96+
"items": "string",
97+
"default": null,
11098
"scope": 3
11199
},
112-
"reason.path.refmterr": {
113-
"type": "string",
114-
"default": "refmterr",
115-
"description": "The path to the `refmterr` binary.",
100+
"ocaml.repl.path": {
101+
"description": "The path of the REPL that the extension uses",
102+
"type": [
103+
"string",
104+
"null"
105+
],
106+
"default": null,
116107
"scope": 3
117108
},
118-
"reason.path.rtop": {
119-
"type": "string",
120-
"default": "rtop",
121-
"description": "The path to the `rtop` binary.",
109+
"ocaml.repl.args": {
110+
"description": "The REPL arguments that the extension uses",
111+
"type": [
112+
"array",
113+
"null"
114+
],
115+
"items": "string",
116+
"default": null,
122117
"scope": 3
123118
},
124-
"reason.server.languages": {
125-
"type": "array",
126-
"items": {
127-
"enum": [
128-
"ocaml",
129-
"reason"
130-
]
131-
},
132-
"default": [
133-
"ocaml",
134-
"reason"
135-
],
136-
"maxItems": 2,
137-
"uniqueItems": true,
138-
"description": "The list of languages enable support for in the language server.",
119+
"ocaml.repl.useUtop": {
120+
"type": "boolean",
121+
"default": true,
122+
"description": "Controls whether to use Utop for the REPL if it is installed in the current switch.",
139123
"scope": 3
140124
}
141125
}

src/languages/extensions/configurations/scalameta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"properties": {
55
"metals.serverVersion": {
66
"type": "string",
7-
"default": "0.11.7+7-67ce8743-SNAPSHOT",
7+
"default": "0.11.7+19-1405f4de-SNAPSHOT",
88
"markdownDescription": "The version of the Metals server artifact. Requires reloading the window. \n\n**VS Code extension version is guaranteed to work only with the default version, change if you know what you're doing**",
99
"scope": 3
1010
},

src/languages/extensions/extensions.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"editor.tabSize": 2,
2828
"editor.insertSpaces": true,
2929
"editor.detectIndentation": false,
30-
"editor.suggest.insertMode": "replace"
30+
"editor.suggest.insertMode": "replace",
31+
"editor.defaultFormatter": "Dart-Code.dart-code"
3132
},
3233
"files.watcherExclude": {
3334
"**/.dart_tool": true
@@ -36,6 +37,26 @@
3637
"pubspec.yaml": "pubspec.lock,pubspec_overrides.yaml,.packages,.flutter-plugins,.flutter-plugins-dependencies,.metadata",
3738
"*.dart": "${capture}.g.dart"
3839
},
40+
"[ocaml]": {
41+
"editor.tabSize": 2,
42+
"editor.insertSpaces": true
43+
},
44+
"[dune]": {
45+
"editor.tabSize": 1,
46+
"editor.insertSpaces": true
47+
},
48+
"[dune-project]": {
49+
"editor.tabSize": 1,
50+
"editor.insertSpaces": true
51+
},
52+
"[dune-workspace]": {
53+
"editor.tabSize": 1,
54+
"editor.insertSpaces": true
55+
},
56+
"[cram]": {
57+
"editor.tabSize": 2,
58+
"editor.insertSpaces": true
59+
},
3960
"[scala]": {
4061
"editor.suggestSelection": "first",
4162
"editor.formatOnPaste": true,
@@ -50,6 +71,15 @@
5071
80
5172
]
5273
},
74+
"[COBOL Copybook]": {
75+
"editor.renderIndentGuides": false,
76+
"editor.rulers": [
77+
7,
78+
11,
79+
72,
80+
80
81+
]
82+
},
5383
"[java]": {
5484
"editor.suggest.snippetsPreventQuickSuggestions": false
5585
},

src/languages/extensions/grammarLoader.ts

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,26 @@ const loader = {
6767
'markdown.cabal.codeblock': async () => (await import(/* webpackChunkName: "grammar-markdown-cabal-codeblock" */ /* webpackMode: "lazy" */ './grammars/haskell/codeblock-cabal.json')).default,
6868
'source.kotlin': async () => (await import(/* webpackChunkName: "grammar-source-kotlin" */ /* webpackMode: "lazy" */ './grammars/kotlin/Kotlin.tmLanguage.json')).default,
6969
'markdown.kotlin.codeblock': async () => (await import(/* webpackChunkName: "grammar-markdown-kotlin-codeblock" */ /* webpackMode: "lazy" */ './grammars/kotlin/codeblock.json')).default,
70-
'source.ocaml': async () => (await import(/* webpackChunkName: "grammar-source-ocaml" */ /* webpackMode: "lazy" */ './grammars/ocaml/ocaml.json')).default,
71-
'source.ocaml.hover.info': async () => (await import(/* webpackChunkName: "grammar-source-ocaml-hover-info" */ /* webpackMode: "lazy" */ './grammars/ocaml/ocaml-hover-info.json')).default,
72-
'source.ocaml.hover.type': async () => (await import(/* webpackChunkName: "grammar-source-ocaml-hover-type" */ /* webpackMode: "lazy" */ './grammars/ocaml/ocaml-hover-type.json')).default,
70+
'source.dune': async () => (await import(/* webpackChunkName: "grammar-source-dune" */ /* webpackMode: "lazy" */ './grammars/ocaml/dune.json')).default,
71+
'source.dune-project': async () => (await import(/* webpackChunkName: "grammar-source-dune-project" */ /* webpackMode: "lazy" */ './grammars/ocaml/dune-project.json')).default,
72+
'source.dune-workspace': async () => (await import(/* webpackChunkName: "grammar-source-dune-workspace" */ /* webpackMode: "lazy" */ './grammars/ocaml/dune-workspace.json')).default,
7373
'source.ocaml.merlin': async () => (await import(/* webpackChunkName: "grammar-source-ocaml-merlin" */ /* webpackMode: "lazy" */ './grammars/ocaml/merlin.json')).default,
74+
'markdown.ocaml.codeblock': async () => (await import(/* webpackChunkName: "grammar-markdown-ocaml-codeblock" */ /* webpackMode: "lazy" */ './grammars/ocaml/ocaml-markdown-codeblock.json')).default,
75+
'source.ocaml': async () => (await import(/* webpackChunkName: "grammar-source-ocaml" */ /* webpackMode: "lazy" */ './grammars/ocaml/ocaml.json')).default,
76+
'source.ocaml.interface': async () => (await import(/* webpackChunkName: "grammar-source-ocaml-interface" */ /* webpackMode: "lazy" */ './grammars/ocaml/ocaml.interface.json')).default,
7477
'source.ocaml.ocamlbuild': async () => (await import(/* webpackChunkName: "grammar-source-ocaml-ocamlbuild" */ /* webpackMode: "lazy" */ './grammars/ocaml/ocamlbuild.json')).default,
78+
'source.ocaml.ocamldoc': async () => (await import(/* webpackChunkName: "grammar-source-ocaml-ocamldoc" */ /* webpackMode: "lazy" */ './grammars/ocaml/ocamldoc.json')).default,
79+
'source.ocaml.ocamlformat': async () => (await import(/* webpackChunkName: "grammar-source-ocaml-ocamlformat" */ /* webpackMode: "lazy" */ './grammars/ocaml/ocamlformat.json')).default,
80+
'source.ocaml.ocamllex': async () => (await import(/* webpackChunkName: "grammar-source-ocaml-ocamllex" */ /* webpackMode: "lazy" */ './grammars/ocaml/ocamllex.json')).default,
81+
'source.action.menhir': async () => (await import(/* webpackChunkName: "grammar-source-action-menhir" */ /* webpackMode: "lazy" */ './grammars/ocaml/menhir-action.json')).default,
82+
'source.ocaml.menhir': async () => (await import(/* webpackChunkName: "grammar-source-ocaml-menhir" */ /* webpackMode: "lazy" */ './grammars/ocaml/menhir.json')).default,
7583
'source.ocaml.opam': async () => (await import(/* webpackChunkName: "grammar-source-ocaml-opam" */ /* webpackMode: "lazy" */ './grammars/ocaml/opam.json')).default,
76-
'source.reason.hover.info': async () => (await import(/* webpackChunkName: "grammar-source-reason-hover-info" */ /* webpackMode: "lazy" */ './grammars/ocaml/reason-hover-info.json')).default,
77-
'source.reason.hover.signature': async () => (await import(/* webpackChunkName: "grammar-source-reason-hover-signature" */ /* webpackMode: "lazy" */ './grammars/ocaml/reason-hover-signature.json')).default,
78-
'source.reason.hover.type': async () => (await import(/* webpackChunkName: "grammar-source-reason-hover-type" */ /* webpackMode: "lazy" */ './grammars/ocaml/reason-hover-type.json')).default,
84+
'source.ocaml.opam-install': async () => (await import(/* webpackChunkName: "grammar-source-ocaml-opam-install" */ /* webpackMode: "lazy" */ './grammars/ocaml/opam-install.json')).default,
85+
'source.ocaml.META': async () => (await import(/* webpackChunkName: "grammar-source-ocaml-META" */ /* webpackMode: "lazy" */ './grammars/ocaml/META.json')).default,
86+
'source.ocaml.oasis': async () => (await import(/* webpackChunkName: "grammar-source-ocaml-oasis" */ /* webpackMode: "lazy" */ './grammars/ocaml/oasis.json')).default,
87+
'source.atd': async () => (await import(/* webpackChunkName: "grammar-source-atd" */ /* webpackMode: "lazy" */ './grammars/ocaml/atd.json')).default,
7988
'markdown.reason.codeblock': async () => (await import(/* webpackChunkName: "grammar-markdown-reason-codeblock" */ /* webpackMode: "lazy" */ './grammars/ocaml/reason-markdown-codeblock.json')).default,
80-
'markdown.ocaml.codeblock': async () => (await import(/* webpackChunkName: "grammar-markdown-ocaml-codeblock" */ /* webpackMode: "lazy" */ './grammars/ocaml/ocaml-markdown-codeblock.json')).default,
89+
'source.cram': async () => (await import(/* webpackChunkName: "grammar-source-cram" */ /* webpackMode: "lazy" */ './grammars/ocaml/cram.json')).default,
8190
'source.pascal': async () => (await import(/* webpackChunkName: "grammar-source-pascal" */ /* webpackMode: "lazy" */ './grammars/pascal/pascal.tmLanguage.json')).default,
8291
'source.scala': async () => (await import(/* webpackChunkName: "grammar-source-scala" */ /* webpackMode: "lazy" */ './grammars/scala/Scala.tmLanguage.json')).default,
8392
'source.jvm-bytecode-verbose': async () => (await import(/* webpackChunkName: "grammar-source-jvm-bytecode-verbose" */ /* webpackMode: "lazy" */ './grammars/scalameta/jvm-bytecode-verbose.json')).default,

0 commit comments

Comments
 (0)