diff options
Diffstat (limited to 'Zig.novaextension/extension.json')
| -rw-r--r-- | Zig.novaextension/extension.json | 199 |
1 files changed, 109 insertions, 90 deletions
diff --git a/Zig.novaextension/extension.json b/Zig.novaextension/extension.json index f63a7b8..f6d4855 100644 --- a/Zig.novaextension/extension.json +++ b/Zig.novaextension/extension.json @@ -118,6 +118,13 @@ "type": "boolean", "default": true, "description": "config.tasks.autodiscover.info" + }, + { + "key": "at.dcz.nova-zig.tasks.show-current-file", + "title": "config.tasks.show-current-file.title", + "type": "boolean", + "default": true, + "description": "config.tasks.show-current-file.info" } ] } @@ -214,6 +221,18 @@ ["disabled", "config.disabled"] ], "description": "config.tasks.autodiscover.info" + }, + { + "key": "at.dcz.nova-zig.tasks.show-current-file", + "title": "config.tasks.show-current-file.title", + "type": "enum", + "default": "inherit", + "values": [ + ["inherit", "config.inherit"], + ["enabled", "config.enabled"], + ["disabled", "config.disabled"] + ], + "description": "config.tasks.show-current-file.info" } ] } @@ -228,7 +247,7 @@ "debugAdapters": { "zig-lldb-dap": { "name": "LLDB", - "image": "zig-mark" + "image": "zig-hex" } }, @@ -260,70 +279,70 @@ "config": [ { "key": "cwd", - "title": "Working Directory", + "title": "tasks.config.cwd.title", "type": "path", "allowFiles": false, "allowFolders": true, "relative": true, - "placeholder": "Workspace Root" + "placeholder": "tasks.config.cwd.placeholder" }, { "key": "runStep", - "title": "Run Step", + "title": "tasks.buildrun.config.run-step.title", "type": "string", "default": "", - "placeholder": "install", - "description": "The `zig build` step to execute for the Run action. Leave blank to run `zig build` with no step (Zig's default install step)." + "placeholder": "tasks.buildrun.config.run-step.placeholder", + "description": "tasks.buildrun.config.run-step.info" }, { "key": "optimize", - "title": "Optimize", + "title": "tasks.config.optimize.title", "type": "enum", "default": "", "values": [ - ["", "Project Default"], + ["", "tasks.config.optimize.default"], ["Debug", "Debug"], ["ReleaseSafe", "ReleaseSafe"], ["ReleaseFast", "ReleaseFast"], ["ReleaseSmall", "ReleaseSmall"] ], - "description": "Passed as `-Doptimize=<mode>`. Leave on Project Default to let `build.zig` decide." + "description": "tasks.buildrun.config.optimize.info" }, { "key": "target", - "title": "Target", + "title": "tasks.config.target.title", "type": "string", - "placeholder": "host", - "description": "Cross-compile target triple, passed as `-Dtarget=`. Leave blank for the host." + "placeholder": "tasks.config.target.placeholder", + "description": "tasks.config.target.info" }, { "key": "userOptions", - "title": "User Options", + "title": "tasks.config.user-options.title", "type": "stringArray", - "description": "Custom `-D` flags. Each entry is `key` (boolean flag) or `key=value`." + "description": "tasks.config.user-options.info" }, { "key": "buildArgs", - "title": "Build Arguments", + "title": "tasks.config.build-args.title", "type": "stringArray", - "description": "Additional arguments appended after `zig build` for both Build and Run." + "description": "tasks.buildrun.config.build-args.info" }, { "key": "runArgs", - "title": "Program Arguments", + "title": "tasks.config.run-args.title", "type": "stringArray", - "description": "Arguments passed after `--` to the built program." + "description": "tasks.buildrun.config.run-args.info" }, { "key": "console", - "title": "Console", + "title": "tasks.config.console.title", "type": "enum", "default": "internalConsole", "values": [ - ["internalConsole", "Internal Console"], - ["externalTerminal", "External Terminal"] + ["internalConsole", "tasks.config.console.internal"], + ["externalTerminal", "tasks.config.console.external"] ], - "description": "Where to run the program. External Terminal launches the macOS Terminal app." + "description": "tasks.buildrun.config.console.info" } ] }, @@ -355,26 +374,26 @@ "config": [ { "key": "cwd", - "title": "Working Directory", + "title": "tasks.config.cwd.title", "type": "path", "allowFiles": false, "allowFolders": true, "relative": true, - "placeholder": "Workspace Root" + "placeholder": "tasks.config.cwd.placeholder" }, { "key": "programPath", - "title": "Program", + "title": "tasks.debug.config.program.title", "type": "path", "allowFiles": true, "allowFolders": false, "relative": true, - "placeholder": "zig-out/bin/app", - "description": "Path to the executable to debug. Relative paths are resolved against the working directory. Leave blank to auto-detect from `build.zig.zon`." + "placeholder": "tasks.debug.config.program.placeholder", + "description": "tasks.debug.config.program.info" }, { "key": "optimize", - "title": "Optimize", + "title": "tasks.config.optimize.title", "type": "enum", "default": "Debug", "values": [ @@ -383,51 +402,51 @@ ["ReleaseFast", "ReleaseFast"], ["ReleaseSmall", "ReleaseSmall"] ], - "description": "Passed as `-Doptimize=<mode>`. Debug is the recommended default for stepping through code." + "description": "tasks.debug.config.optimize.info" }, { "key": "target", - "title": "Target", + "title": "tasks.config.target.title", "type": "string", - "placeholder": "host", - "description": "Cross-compile target triple, passed as `-Dtarget=`. Leave blank for the host." + "placeholder": "tasks.config.target.placeholder", + "description": "tasks.config.target.info" }, { "key": "userOptions", - "title": "User Options", + "title": "tasks.config.user-options.title", "type": "stringArray", - "description": "Custom `-D` flags. Each entry is `key` (boolean flag) or `key=value`." + "description": "tasks.config.user-options.info" }, { "key": "buildArgs", - "title": "Build Arguments", + "title": "tasks.config.build-args.title", "type": "stringArray", - "description": "Additional arguments appended after `zig build`." + "description": "tasks.debug.config.build-args.info" }, { "key": "runArgs", - "title": "Program Arguments", + "title": "tasks.config.run-args.title", "type": "stringArray", - "description": "Arguments passed to the debugged program." + "description": "tasks.debug.config.run-args.info" }, { "key": "console", - "title": "Console", + "title": "tasks.config.console.title", "type": "enum", "default": "internalConsole", "values": [ - ["internalConsole", "Internal Console"], - ["integratedTerminal", "Integrated Terminal"], - ["externalTerminal", "External Terminal"] + ["internalConsole", "tasks.config.console.internal"], + ["integratedTerminal", "tasks.config.console.integrated"], + ["externalTerminal", "tasks.config.console.external"] ], - "description": "Where the debugged program should run." + "description": "tasks.debug.config.console.info" }, { "key": "stopOnEntry", - "title": "Stop On Entry", + "title": "tasks.debug.config.stop-on-entry.title", "type": "boolean", "default": false, - "description": "Pause immediately when the program starts." + "description": "tasks.debug.config.stop-on-entry.info" } ] }, @@ -458,71 +477,71 @@ "config": [ { "key": "cwd", - "title": "Working Directory", + "title": "tasks.config.cwd.title", "type": "path", "allowFiles": false, "allowFolders": true, "relative": true, - "placeholder": "Workspace Root" + "placeholder": "tasks.config.cwd.placeholder" }, { "key": "testFilter", - "title": "Test Filter", + "title": "tasks.test.config.test-filter.title", "type": "string", - "placeholder": "substring of test name", - "description": "Substring of the test name. Passed as `--test-filter`." + "placeholder": "tasks.test.config.test-filter.placeholder", + "description": "tasks.test.config.test-filter.info" }, { "key": "summary", - "title": "Summary", + "title": "tasks.test.config.summary.title", "type": "enum", "default": "", "values": [ - ["", "Default"], - ["all", "All"], - ["failures", "Failures only"], - ["none", "None"] + ["", "tasks.config.default"], + ["all", "tasks.test.config.summary.all"], + ["failures", "tasks.test.config.summary.failures"], + ["none", "tasks.test.config.summary.none"] ], - "description": "Controls `zig build`'s --summary verbosity." + "description": "tasks.test.config.summary.info" }, { "key": "optimize", - "title": "Optimize", + "title": "tasks.config.optimize.title", "type": "enum", "default": "", "values": [ - ["", "Project Default"], + ["", "tasks.config.optimize.default"], ["Debug", "Debug"], ["ReleaseSafe", "ReleaseSafe"], ["ReleaseFast", "ReleaseFast"], ["ReleaseSmall", "ReleaseSmall"] ], - "description": "Passed as `-Doptimize=<mode>`." + "description": "tasks.config.optimize.info" }, { "key": "target", - "title": "Target", + "title": "tasks.config.target.title", "type": "string", - "placeholder": "host", - "description": "Cross-compile target triple, passed as `-Dtarget=`. Leave blank for the host." + "placeholder": "tasks.config.target.placeholder", + "description": "tasks.config.target.info" }, { "key": "userOptions", - "title": "User Options", + "title": "tasks.config.user-options.title", "type": "stringArray", - "description": "Custom `-D` flags. Each entry is `key` (boolean flag) or `key=value`." + "description": "tasks.config.user-options.info" }, { "key": "buildArgs", - "title": "Build Arguments", + "title": "tasks.config.build-args.title", "type": "stringArray", - "description": "Additional arguments appended after `zig build test`." + "description": "tasks.test.config.build-args.info" }, { "key": "runArgs", - "title": "Program Arguments", + "title": "tasks.config.run-args.title", "type": "stringArray", - "description": "Arguments passed after `--` to the test runner." + "description": "tasks.test.config.run-args.info" } ] }, @@ -547,73 +566,73 @@ "config": [ { "key": "cwd", - "title": "Working Directory", + "title": "tasks.config.cwd.title", "type": "path", "allowFiles": false, "allowFolders": true, "relative": true, - "placeholder": "Workspace Root" + "placeholder": "tasks.config.cwd.placeholder" }, { "key": "step", - "title": "Step", + "title": "tasks.watch.config.step.title", "type": "string", "default": "", - "placeholder": "install", - "description": "Build step to watch. Leave blank for `zig build`'s default install step." + "placeholder": "tasks.watch.config.step.placeholder", + "description": "tasks.watch.config.step.info" }, { "key": "debounceMs", - "title": "Debounce (ms)", + "title": "tasks.watch.config.debounce.title", "type": "number", "min": 0, "max": 60000, - "description": "Passed as `--debounce <N>`. Leave blank for Zig's default." + "description": "tasks.watch.config.debounce.info" }, { "key": "incremental", - "title": "Incremental", + "title": "tasks.watch.config.incremental.title", "type": "enum", "default": "", "values": [ - ["", "Default"], - ["on", "On"], - ["off", "Off"] + ["", "tasks.config.default"], + ["on", "tasks.config.on"], + ["off", "tasks.config.off"] ], - "description": "Toggle `-fincremental` / `-fno-incremental`." + "description": "tasks.watch.config.incremental.info" }, { "key": "optimize", - "title": "Optimize", + "title": "tasks.config.optimize.title", "type": "enum", "default": "", "values": [ - ["", "Project Default"], + ["", "tasks.config.optimize.default"], ["Debug", "Debug"], ["ReleaseSafe", "ReleaseSafe"], ["ReleaseFast", "ReleaseFast"], ["ReleaseSmall", "ReleaseSmall"] ], - "description": "Passed as `-Doptimize=<mode>`." + "description": "tasks.config.optimize.info" }, { "key": "target", - "title": "Target", + "title": "tasks.config.target.title", "type": "string", - "placeholder": "host", - "description": "Cross-compile target triple, passed as `-Dtarget=`. Leave blank for the host." + "placeholder": "tasks.config.target.placeholder", + "description": "tasks.config.target.info" }, { "key": "userOptions", - "title": "User Options", + "title": "tasks.config.user-options.title", "type": "stringArray", - "description": "Custom `-D` flags. Each entry is `key` (boolean flag) or `key=value`." + "description": "tasks.config.user-options.info" }, { "key": "buildArgs", - "title": "Build Arguments", + "title": "tasks.config.build-args.title", "type": "stringArray", - "description": "Additional arguments appended after `zig build`." + "description": "tasks.config.build-args.info" } ] } |
