Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync ZLS options #224

Merged
merged 1 commit into from
Aug 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 7 additions & 37 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,12 @@
"description": "Enable inlay hints for variable types",
"default": true
},
"zig.zls.inlayHintsShowStructLiteralFieldType": {
"scope": "resource",
"type": "boolean",
"description": "Enable inlay hints for fields in struct and union literals",
"default": true
},
"zig.zls.inlayHintsShowParameterName": {
"scope": "resource",
"type": "boolean",
Expand Down Expand Up @@ -251,12 +257,6 @@
"description": "Whether to highlight global var declarations",
"default": false
},
"zig.zls.dangerousComptimeExperimentsDoNotEnable": {
"scope": "resource",
"type": "boolean",
"description": "Whether to use the comptime interpreter",
"default": false
},
"zig.zls.skipStdReferences": {
"scope": "resource",
"type": "boolean",
Expand All @@ -269,24 +269,6 @@
"description": "Favor using `zig ast-check` instead of ZLS's fork",
"default": true
},
"zig.zls.recordSession": {
"scope": "resource",
"type": "boolean",
"description": "When true, zls will record all request is receives and write in into `record_session_path`, so that they can replayed with `zls replay`",
"default": false
},
"zig.zls.recordSessionPath": {
"scope": "resource",
"type": "string",
"description": "Output file path when `record_session` is set. The recommended file extension *.zlsreplay",
"format": "path"
},
"zig.zls.replaySessionPath": {
"scope": "resource",
"type": "string",
"description": "Used when calling `zls replay` for specifying the replay file. If no extra argument is given `record_session_path` is used as the default path.",
"format": "path"
},
"zig.zls.builtinPath": {
"scope": "resource",
"type": "string",
Expand All @@ -302,7 +284,7 @@
"zig.zls.buildRunnerPath": {
"scope": "resource",
"type": "string",
"description": "Path to the `build_runner.zig` file provided by zls. null is equivalent to `${executable_directory}/build_runner.zig`",
"description": "Path to the `build_runner.zig` file provided by ZLS. null is equivalent to `${executable_directory}/build_runner.zig`",
"format": "path"
},
"zig.zls.globalCachePath": {
Expand All @@ -311,18 +293,6 @@
"description": "Path to a directory that will be used as zig's cache. null is equivalent to `${KnownFolders.Cache}/zls`",
"format": "path"
},
"zig.zls.buildRunnerGlobalCachePath": {
"scope": "resource",
"type": "string",
"description": "Path to a directory that will be used as the global cache path when executing a projects build.zig. null is equivalent to the path shown by `zig env`",
"format": "path"
},
"zig.zls.completionsWithReplace": {
"scope": "resource",
"type": "boolean",
"description": "Completions confirm behavior. If 'true', replace the text after the cursor",
"default": true
},
"zig.zls.completionLabelDetails": {
"scope": "resource",
"type": "boolean",
Expand Down