-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Description
I have style checks enabled with my compilation flags, which results in messages like:
filename.adb:514:80: (style) this line is too long
These are mapped to errors in VS code using the $ada problemMatcher. Can you please update the matcher to map these to warnings or info? The code below does this, but I have to replicate it for every task. It would be nice to have it defined in the extension.
{
"base": "$ada",
"severity": "warning",
"pattern": {
"regexp": "^([^:]:?[^:]*):(\\d+):(\\d+):\\s+(warning|)(?:[:]\\s+)?(.*)$",
"file": 1,
"line": 2,
"column": 3,
"message": 5
}
},
{
"base": "$ada",
"severity": "warning",
"pattern": {
"regexp": "^([^:]:?[^:]*):(\\d+):(\\d+):\\s+(style|)(?:[:]\\s+)?(.*)$",
"file": 1,
"line": 2,
"column": 3,
"message": 5
}
},
{
"base": "$ada",
"severity": "error",
"pattern": {
"regexp": "^([^:]:?[^:]*):(\\d+):(\\d+):\\s+(error|)(?:[:]\\s+)?(.*)$",
"file": 1,
"line": 2,
"column": 3,
"message": 5
}
}
Joebeazelman and mgrojo
Metadata
Metadata
Assignees
Labels
No labels