From 8dfe15aa16c51eb7eca0c2edaedcb83b5f8a92d0 Mon Sep 17 00:00:00 2001 From: David Czihak Date: Fri, 8 May 2026 21:04:52 +0200 Subject: Style: Format extension manifest --- extension.json | 75 +++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 45 insertions(+), 30 deletions(-) (limited to 'extension.json') diff --git a/extension.json b/extension.json index 83e5934..2a146da 100644 --- a/extension.json +++ b/extension.json @@ -1,37 +1,33 @@ { "identifier": "at.dcz.nova-zig", - "name": "Zig", "organization": "David Czihak", - "description": "Zig language support – ZLS, LLDB, Tree-Sitter grammar", + "name": "Zig", "version": "0.1.8", "license": "BSD-2-Clause", - "categories": ["languages", "completions", "formatters", "tasks", "issues"], + + "description": "Zig language support – ZLS, LLDB, Tree-Sitter grammar", + "categories": ["completions", "formatters", "issues", "languages", "tasks"], "keywords": ["zig", "zon", "zls"], + "repository": "https://git.dcz.at/Zig.novaextension/", "bugs": { "email": "bugs@dcz.at" }, + "min_runtime": "10", + + "entitlements": { + "process": true, + "filesystem": "readwrite" + }, + "main": "main.js", + "activationEvents": [ "onLanguage:zig", "onWorkspaceContains:*.zig", "onWorkspaceContains:build.zig", "onWorkspaceContains:build.zig.zon" ], - "entitlements": { - "process": true, - "filesystem": "readwrite" - }, - "debugAdapters": { - "zig-lldb-dap": { - "name": "Zig (LLDB DAP)", - "image": "zig-debug" - } - }, - "breakpoints": [ - { - "syntax": "zig" - } - ], + "config": [ { "type": "section", @@ -118,6 +114,7 @@ ] } ], + "configWorkspace": [ { "type": "section", @@ -199,20 +196,20 @@ ] } ], - "issueMatchers": { - "zig.compiler": { - "pattern": [ - { - "regexp": "^(.+?):(\\d+):(\\d+):\\s*(error|warning):\\s*(.+)$", - "file": 1, - "line": 2, - "column": 3, - "severity": 4, - "message": 5 - } - ] + + "breakpoints": [ + { + "syntax": "zig" + } + ], + + "debugAdapters": { + "zig-lldb-dap": { + "name": "Zig (LLDB DAP)", + "image": "zig-debug" } }, + "taskTemplates": { "zigBuildRun": { "name": "Zig Package", @@ -307,6 +304,7 @@ } ] }, + "zigDebug": { "name": "Zig Debug", "description": "Build a Zig package in Debug mode and launch it under lldb-dap.", @@ -410,6 +408,7 @@ } ] }, + "zigTest": { "name": "Zig Test", "description": "Run `zig build test` with optional --test-filter and --summary controls.", @@ -504,6 +503,7 @@ } ] }, + "zigWatch": { "name": "Zig Watch", "description": "Run `zig build --watch` and rebuild on file changes. Note: inline issues only update on the first build cycle — Nova's matchers do not re-arm for streaming output.", @@ -592,5 +592,20 @@ } ] } + }, + + "issueMatchers": { + "zig.compiler": { + "pattern": [ + { + "regexp": "^(.+?):(\\d+):(\\d+):\\s*(error|warning):\\s*(.+)$", + "file": 1, + "line": 2, + "column": 3, + "severity": 4, + "message": 5 + } + ] + } } } -- cgit v1.3