Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiago Ontañón authored and Santiago Ontañón committed Sep 8, 2024
2 parents dbf9460 + 107fcb5 commit d82c05f
Showing 1 changed file with 23 additions and 27 deletions.
50 changes: 23 additions & 27 deletions doc/integration-vscode.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,31 @@ The output of the MDL pattern-based optimizer can be integrated into VSCode usin
"command": "java -jar mdl.jar <main source> -po -dialect <dialect>",
"group": "build",
"problemMatcher": {
"applyTo": "allDocuments",
"fileLocation": [
"autodetect",
"${workspaceFolder}"
],
"pattern": [
{
"regexp": "^(\\w+): (.+) in (.+)#([0-9]+): (.+)$",
"file": 3,
"line": 4,
"severity": 1,
"message": 5,
"code": 2
}
]
},
"presentation": {
"echo": false,
"focus": false,
"panel": "shared",
"showReuseMessage": false,
"clear": true,
"revealProblems": "onProblem"
}
"applyTo": "allDocuments",
"fileLocation": [
"autodetect",
"${workspaceFolder}"
],
"owner": "mdl",
"pattern": [{
"regexp": "^(\\w+): (.+) in (.+)#([0-9]+): (.+)$",
"file": 3,
"line": 4,
"severity": 1,
"message": 5,
"code": 2
}]
},
"presentation": {
"echo": false,
"focus": false,
"panel": "shared",
"showReuseMessage": false,
"clear": true,
"revealProblems": "onProblem"
}
}]
}



```

You can, of course expand this to include other output from MDL, such as style warnings.
Expand Down

0 comments on commit d82c05f

Please sign in to comment.