VSCode problemMatcher $gcc 似乎不见了
The VSCode problemMatcher $gcc seems to be gone
我的任务配置为使用 $gcc
problemMatcher。这曾经工作正常,但现在 vscode 抱怨:
{
"resource": "/home/src/example/.vscode/tasks.json",
"owner": "_generated_diagnostic_collection_name_#0",
"code": "1",
"severity": 4,
"message": "Value is not accepted. Valid values: \"$msCompile\", \"$lessCompile\", \"$gulp-tsc\", \"$jshint\", \"$jshint-stylish\", \"$eslint-compact\", \"$eslint-stylish\", \"$go\", \"$lessc\", \"$node-sass\", \"$tsc\", \"$tsc-watch\".",
"startLineNumber": 11,
"startColumn": 31,
"endLineNumber": 11,
"endColumn": 37
}
如您所见,$gcc
不在有效值列表中。怎么会?
这是我的 VSCode 版本:
Version: 1.38.1
Commit: b37e54c98e1a74ba89e03073e5a3761284e3ffb0
Date: 2019-09-11T13:30:08.229Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Linux x64 5.0.0-29-generic
我在启用 ms-code.cpptools
时注意到同样的错误,它消失了。
我的任务配置为使用 $gcc
problemMatcher。这曾经工作正常,但现在 vscode 抱怨:
{
"resource": "/home/src/example/.vscode/tasks.json",
"owner": "_generated_diagnostic_collection_name_#0",
"code": "1",
"severity": 4,
"message": "Value is not accepted. Valid values: \"$msCompile\", \"$lessCompile\", \"$gulp-tsc\", \"$jshint\", \"$jshint-stylish\", \"$eslint-compact\", \"$eslint-stylish\", \"$go\", \"$lessc\", \"$node-sass\", \"$tsc\", \"$tsc-watch\".",
"startLineNumber": 11,
"startColumn": 31,
"endLineNumber": 11,
"endColumn": 37
}
如您所见,$gcc
不在有效值列表中。怎么会?
这是我的 VSCode 版本:
Version: 1.38.1
Commit: b37e54c98e1a74ba89e03073e5a3761284e3ffb0
Date: 2019-09-11T13:30:08.229Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Linux x64 5.0.0-29-generic
我在启用 ms-code.cpptools
时注意到同样的错误,它消失了。