我有一个非常简单的'jsconfig.json‘来为我的*.js和*.html ()文件提供智能感知。
“common.js”中的ES6部分工作正常,但编辑器无法识别"script1.js“、"lib/lib1.js”中的代码。
似乎没有为html中的脚本启用智能感知?有没有办法检查/解决这个问题?
这是我的jsconfig.json的副本
{
"compilerOptions":
{
"target": "es6",
"module": "commonjs",
"experimentalDecorators" : true,
"allowSyntheticDefaultImports": true
},
"files": [ "script1.js", "lib/lib1.js" ],
"exclude": [ "node_modules" ]
}发布于 2017-07-07 16:46:13
VSCode 1.14中不支持html脚本块中的外部文件智能感知。我们在这里跟踪特性请求:https://github.com/Microsoft/vscode/issues/26338
https://stackoverflow.com/questions/38710169
复制相似问题