From 2c743df141e40bcd61a18c8a35de1c460920da2d Mon Sep 17 00:00:00 2001 From: Damian Tarnawski Date: Sat, 9 Aug 2025 12:09:53 +0200 Subject: Correct odin problemMatcher and add odin-unix --- editors/vscode/package.json | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'editors') diff --git a/editors/vscode/package.json b/editors/vscode/package.json index e6c57d8..1de71b1 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -137,11 +137,21 @@ { "name": "odin", "owner": "odin", - "fileLocation": [ - "absolute" - ], + "fileLocation": "absolute", + "pattern": { + "regexp": "^(.+)\\((\\d+):(\\d+)\\) (Error|Warning): (.+)$", + "file": 1, + "line": 2, + "column": 3, + "severity": 4, + "message": 5 + } + }, { + "name": "odin-unix", + "owner": "odin", + "fileLocation": "absolute", "pattern": { - "regexp": "^(.+)\\(([0-9]+)\\:([0-9]+)\\) ([^:]+)(.+)$", + "regexp": "^(.+):(\\d+):(\\d+): (Error|Warning): (.+)$", "file": 1, "line": 2, "column": 3, -- cgit v1.2.3