RelativePattern 不可用
RelativePattern not available
我正在尝试使我的 vscode 扩展与多根工作区兼容 - 我想从特定工作区获取文件。
问题是 - 在我的版本中这种类型 "RelativePattern" 不可用 - 我不知道如何让它可用。据我所知,我更新了所有库。
您可能有旧版本的 API 定义。要更新它,请在 package.json
:
中更新 vscode 引擎版本
{
"engines": {
"vscode": "^1.21"
}
}
然后运行再次post安装脚本:
npm run postinstall
或:
node ./node_modules/vscode/bin/install
我正在尝试使我的 vscode 扩展与多根工作区兼容 - 我想从特定工作区获取文件。 问题是 - 在我的版本中这种类型 "RelativePattern" 不可用 - 我不知道如何让它可用。据我所知,我更新了所有库。
您可能有旧版本的 API 定义。要更新它,请在 package.json
:
{
"engines": {
"vscode": "^1.21"
}
}
然后运行再次post安装脚本:
npm run postinstall
或:
node ./node_modules/vscode/bin/install