1、添加@配置,把下面这句话加到setting.json文件中
"path-autocomplete.extensionOnlmport": true,
// 配嚣 @ 的路径提示
"path-autocomplete.pathMappings": {
"@":"${folder}/src"
},
2、就是VScode的setting.json文件
"path-autocomplete.extensionOnlmport": true,
// 配嚣 @ 的路径提示
"path-autocomplete.pathMappings": {
"@":"${folder}/src"
},