diff options
Diffstat (limited to 'extension.json')
| -rw-r--r-- | extension.json | 40 |
1 files changed, 35 insertions, 5 deletions
diff --git a/extension.json b/extension.json index 2a146da..0938ee5 100644 --- a/extension.json +++ b/extension.json @@ -152,19 +152,37 @@ { "key": "at.dcz.nova-zig.zls.enabled", "title": "Enable ZLS", - "type": "boolean", + "type": "enum", + "default": "inherit", + "values": [ + ["inherit", "Inherit from Global"], + ["enabled", "Enabled"], + ["disabled", "Disabled"] + ], "description": "Enable diagnostics, completion, navigation, and other language-server features." }, { "key": "at.dcz.nova-zig.zls.build-on-save", "title": "Build On Save", - "type": "boolean", + "type": "enum", + "default": "inherit", + "values": [ + ["inherit", "Inherit from Global"], + ["enabled", "Enabled"], + ["disabled", "Disabled"] + ], "description": "Allow ZLS to run its build/check runner on save when the workspace is a Zig project." }, { "key": "at.dcz.nova-zig.zls.debug", "title": "Debug Server Messages", - "type": "boolean", + "type": "enum", + "default": "inherit", + "values": [ + ["inherit", "Inherit from Global"], + ["enabled", "Enabled"], + ["disabled", "Disabled"] + ], "description": "Log ZLS traffic to the Extension Console while developing the extension." } ] @@ -177,7 +195,13 @@ { "key": "at.dcz.nova-zig.debug-adapter.debug", "title": "Enable Proxy Log", - "type": "boolean", + "type": "enum", + "default": "inherit", + "values": [ + ["inherit", "Inherit from Global"], + ["enabled", "Enabled"], + ["disabled", "Disabled"] + ], "description": "Write lldb-dap-proxy traffic to a log file in the extension's storage directory. For extension development only." } ] @@ -190,7 +214,13 @@ { "key": "at.dcz.nova-zig.tasks.discover-steps", "title": "Discover Build Steps", - "type": "boolean", + "type": "enum", + "default": "inherit", + "values": [ + ["inherit", "Inherit from Global"], + ["enabled", "Enabled"], + ["disabled", "Disabled"] + ], "description": "Run `zig build --list-steps` and surface each step as a task in the task list. Disable for projects where running build.zig on activation is undesirable." } ] |
