Skip to content

Commit 88fcf14

Browse files
chore(build): auto-generate schemas
1 parent c971f86 commit 88fcf14

6 files changed

Lines changed: 46 additions & 0 deletions

File tree

after/codesettings-nls/omnisharp.nls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"configuration.dotnet.defaultSolution.description": "The path of the default solution to be opened in the workspace when multiple solutions are available.",
5252
"configuration.dotnet.diagnostics.reportInformationAsHint": "Enable this setting to reduce visual distractions in your editor. Information problems will be reported as hints and only be visible when the code actions popup is open. (Requires extension restart)",
5353
"configuration.dotnet.enableXamlTools": "Enables XAML tools when using C# Dev Kit. (Requires extension restart)",
54+
"configuration.dotnet.fileBasedApps.enableAutomaticDiscovery": "Enables automatic discovery of C# file-based apps in the workspace.",
5455
"configuration.dotnet.formatting.organizeImportsOnFormat": "Specifies whether 'using' directives should be grouped and sorted during document formatting.",
5556
"configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Highlight related JSON components under cursor.",
5657
"configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Highlight related regular expression components under cursor.",

after/codesettings-schemas/als.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,12 @@
213213
"scope": "window",
214214
"type": "integer"
215215
},
216+
"ada.metricThresholds": {
217+
"default": null,
218+
"markdownDescription": "Configurable thresholds for metrics provided by `gnatmetric`. Each key is a metric name (e.g., `cyclomatic_complexity`, `code_lines`), and the value is an object with optional 'warn' and 'error' numeric thresholds.\nMetric names can be retrieved from the XML metric files generated by `gnatmetric`, which by default are located under the project's object directory (`.metrics.xml` files).\n\nIf not set, no thresholds will be applied.",
219+
"scope": "window",
220+
"type": "object"
221+
},
216222
"ada.namedNotationThreshold": {
217223
"default": 3,
218224
"markdownDescription": "Defines the number of parameters/components beyond which named notation is used for completion snippets.\n\nIf not set in VS Code, this setting takes its value from the [`.als.json`](https://github.com/AdaCore/ada_language_server/blob/master/doc/settings.md) file at the root of the workspace, if that file exists. Otherwise it defaults to `3`.",

after/codesettings-schemas/jdtls.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -914,6 +914,13 @@
914914
"scope": "window",
915915
"type": "boolean"
916916
},
917+
"java.jdt.ls.scalaSupport.enabled": {
918+
"default": true,
919+
"markdownDescription": "[Experimental] Specify whether to enable `scala` plugin in Gradle projects. Defaults to `true`.",
920+
"order": 80,
921+
"scope": "window",
922+
"type": "boolean"
923+
},
917924
"java.jdt.ls.vmargs": {
918925
"default": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m -Xlog:disable",
919926
"description": "Specifies extra VM arguments used to launch the Java Language Server. Eg. use `-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m -Xlog:disable` to optimize memory usage with the parallel garbage collector",

after/codesettings-schemas/omnisharp.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,14 @@
395395
"scope": "machine-overridable",
396396
"type": "boolean"
397397
},
398+
"dotnet.fileBasedApps.enableAutomaticDiscovery": {
399+
"default": true,
400+
"description": "%configuration.dotnet.fileBasedApps.enableAutomaticDiscovery%",
401+
"tags": [
402+
"preview"
403+
],
404+
"type": "boolean"
405+
},
398406
"dotnet.formatting.organizeImportsOnFormat": {
399407
"default": false,
400408
"description": "%configuration.dotnet.formatting.organizeImportsOnFormat%",

lua/codesettings/generated/annotations.lua

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@
7878
-- default = 10
7979
-- ```
8080
---@field logThreshold integer?
81+
-- Configurable thresholds for metrics provided by `gnatmetric`. Each key is a metric name (e.g., `cyclomatic_complexity`, `code_lines`), and the value is an object with optional 'warn' and 'error' numeric thresholds.
82+
-- Metric names can be retrieved from the XML metric files generated by `gnatmetric`, which by default are located under the project's object directory (`.metrics.xml` files).
83+
--
84+
-- If not set, no thresholds will be applied.
85+
---@field metricThresholds table?
8186
-- Defines the number of parameters/components beyond which named notation is used for completion snippets.
8287
--
8388
-- If not set in VS Code, this setting takes its value from the [`.als.json`](https://github.com/AdaCore/ada_language_server/blob/master/doc/settings.md) file at the root of the workspace, if that file exists. Otherwise it defaults to `3`.
@@ -12498,6 +12503,14 @@
1249812503
-- ```
1249912504
---@field enabled boolean?
1250012505

12506+
---@class lsp.jdtls.ScalaSupport
12507+
-- [Experimental] Specify whether to enable `scala` plugin in Gradle projects. Defaults to `true`.
12508+
--
12509+
-- ```lua
12510+
-- default = true
12511+
-- ```
12512+
---@field enabled boolean?
12513+
1250112514
---@class lsp.jdtls.Ls
1250212515
---@field androidSupport lsp.jdtls.AndroidSupport?
1250312516
---@field appcds lsp.jdtls.Appcds?
@@ -12508,6 +12521,7 @@
1250812521
---@field kotlinSupport lsp.jdtls.KotlinSupport?
1250912522
---@field lombokSupport lsp.jdtls.LombokSupport?
1251012523
---@field protobufSupport lsp.jdtls.ProtobufSupport?
12524+
---@field scalaSupport lsp.jdtls.ScalaSupport?
1251112525
-- Specifies extra VM arguments used to launch the Java Language Server. Eg. use `-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m -Xlog:disable` to optimize memory usage with the parallel garbage collector
1251212526
--
1251312527
-- ```lua
@@ -16774,6 +16788,14 @@
1677416788
-- ```
1677516789
---@field reportInformationAsHint boolean?
1677616790

16791+
---@class lsp.omnisharp.FileBasedApps
16792+
-- Enables automatic discovery of C# file-based apps in the workspace.
16793+
--
16794+
-- ```lua
16795+
-- default = true
16796+
-- ```
16797+
---@field enableAutomaticDiscovery boolean?
16798+
1677716799
---@class lsp.omnisharp.Formatting
1677816800
-- Specifies whether 'using' directives should be grouped and sorted during document formatting.
1677916801
---@field organizeImportsOnFormat boolean?
@@ -17180,6 +17202,7 @@
1718017202
-- default = true
1718117203
-- ```
1718217204
---@field enableXamlTools boolean?
17205+
---@field fileBasedApps lsp.omnisharp.FileBasedApps?
1718317206
---@field formatting lsp.omnisharp.Formatting?
1718417207
---@field highlighting lsp.omnisharp.Highlighting?
1718517208
---@field inlayHints lsp.omnisharp.InlayHints?

lua/codesettings/generated/terminal-objects.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ return {
88
["Lua.format.defaultConfig"] = true,
99
["Lua.nameStyle.config"] = true,
1010
["Lua.runtime.special"] = true,
11+
["ada.metricThresholds"] = true,
1112
["ada.scenarioVariables"] = true,
1213
["csharp.debug.sourceFileMap"] = true,
1314
["dart.customDevTools.env"] = true,

0 commit comments

Comments
 (0)