-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Description
Thanks for the amazing tool! I have written a custom task to plug textidote into VS code.
Maybe this would be worth mentionning somewhere on the wiki?
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
[...],
{
"label": "Check LaTeX with textidote (LaTeX+language)",
"type": "shell",
// You can change the default language down there
// The `sed` command is to strip the colours out of the output of textidote, see https://stackoverflow.com/a/18000433
"command": "textidote --check en_UK --output singleline --no-color ${file}",
"problemMatcher": {
"fileLocation": "autoDetect",
"severity": "warning",
"pattern": [
{
"regexp": "^(.*)\\(L([0-9]+)C([0-9]+)-(L([0-9]+)C([0-9]+)|\\?)\\): (.*)$",
"file": 1,
"line": 2,
"column": 3,
"endLine": 5,
"endColumn": 6,
"message": 7
}
]
}
}
]
}
toolcreator and lacinoire
Metadata
Metadata
Assignees
Labels
No labels