[英]How to find the built-in problem matchers' definitions?
根据https://code.visualstudio.com/docs/editor/tasks ,可能有很多内置的问题匹配器。 例如:
"label": "build",
"type": "shell",
"command": "make",
"problemMatcher": [ "$gcc", "$msCompile" ],
"group": "build"
我的问题
如何找到 $gcc 和 $msCompile 的定义?
根据@rioV8 的评论,我搜索了安装了内置扩展的目录(Linux 上的/usr/share/code/resources/app/extensions
)以package.json
文件,其中包含一个条目problemMatchers
。 这些是我找到的:
vscode.less
:“Less 语言基础”lessc
: label "Lessc 编译器"vscode.typescript-language-features
:“TypeScript 和 JavaScript 语言功能”问题匹配器:
tsc
: label "%typescript.problemMatchers.tsc.label%" –?
tsc-watch
: label "%typescript.problemMatchers.tscWatch.label%" –?
问题模式:
tsc
vscode.cpp
:“C/C++ 语言基础”问题匹配器:
nvcc
: 没有 label问题模式:
nvcc-location
vscode.scss
:“SCSS 语言基础”node-sass
萨斯:label“节点 Sass 编译器”奇怪的是,这个列表与处理任务 output 下的列表完全不同,文档中有问题匹配器。 我找不到列出的大多数,我找到了一个没有。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.