New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vue文件的文件名会影响tsconfig的读取? #1592
Comments
u can try exit the vscode and wait a little time then restart; i more like volar get stuck in some where; and may be roll back volar version will work(i keep use 0.38.3), keep in mind: every time u change the volar version, try do above actions ==== 试下退出vscode并等一阵子(大概3-5分钟?)再重启,这看起来更像是volar在解析这个文件时遇到了点什么问题然后这个错误一直缓存在那每次打开都被这个错误block了 以及可以尝试下回滚volar版本(我暂时停在0.38.3了),注意每次回滚都重复一下上边的操作,或者f1然后 'restart vue server' 可能也行 // ↓ 修改链接里的版本就可以下载不同的版本了 |
我之前也以为system是一个关键词,最后改名绕过去了; |
是的,使用旧版之后可以正常的读取tsconfig文件,并且最近发现的无法部分函数无法跳转到定义的问题也解决了 |
是不是改过文件名大小写了?改文件名大小写会变成no tsconfig,以前也有人遇到过类似的问题 |
好像是有这改过大小写 |
确实…回忆了一下,我这边两次遇到这个情况都有这个操作 |
是的,我刚刚测试了,修改文件名的大小写确实会有这问题 |
我将文件名设置成 CookView.vue, vs右下方就会显示 No tsconfig
将其该下名字,又能正常的读取tsconfig,
并且这会影响代码提示,导致一些导入的module路径下出现红线
The text was updated successfully, but these errors were encountered: