json Visual Studio Code Asciidoctor-PDF任务(带问题匹配器)

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json Visual Studio Code Asciidoctor-PDF任务(带问题匹配器)相关的知识,希望对你有一定的参考价值。

{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "Build document",
      "type": "shell",
      "command": "asciidoctor-pdf -r asciidoctor-diagram --out-file outfile.pdf infile.adoc",
      "group": {
        "kind": "build",
        "isDefault": true
      },
      "presentation": {
        "echo": true,
        "reveal": "silent",
        "focus": false,
        "panel": "dedicated"
      },
      "problemMatcher": {
        "owner": "asciidoc",
        "fileLocation": ["relative", "${workspaceFolder}"],
        "pattern": {
            "regexp": "^asciidoctor:\\s+(WARNING|ERROR):\\s+(.*):\\s+line\\s+(\\d+):\\s+(.*)$",
            "column": 0,
            "severity": 1,
            "file": 2,
            "line": 3,
            "message": 4
        }
      }
    }
  ]
}

以上是关于json Visual Studio Code Asciidoctor-PDF任务(带问题匹配器)的主要内容,如果未能解决你的问题,请参考以下文章

json Visual Studio Code中JavaScript的用户代码段

Visual Studio Code 的 launch.json 解析

visual studio code苹果c语言怎么打开launch

json Visual Studio Code Asciidoctor-PDF任务(带问题匹配器)

visual studio code如何运行c

Egret之Visual Studio Code环境配置