-
Notifications
You must be signed in to change notification settings - Fork 35
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
script标签里面不出提示 #9
Comments
不知道是否和别的插件冲突了 |
vscode打开速度非常快是因为它加载文件是按需加载,最近的新版本对这方面做的有点变态了,你这个问题其实你只要随便打开一个js文件,再回去看.vue文件后在script标签就有代码提示了,你可以试试。我实验了了一下,一开始启动vscode的时候,你没有打开任何js文件,那么html和.vue文件都没有js代码提示,但是只要你打开了js文件,就不会出现这个问题,可能是vscode默认启动不会加载js相关功能配置来提高打开速度,只有你打开了js文件才会加载有关于js的相关插件和功能。 |
果然。。。。 |
我这边情况是: .vue里面console.x这样代码都有提示, 类似import X from '../../../libs/x' 这样的代码,首先不能定位文件,其次当输入 X. 的时候 也没有方法提示。是vsc本身不支持,还是我个人设置问题? |
@yanghdx 定位文件需要这个 Path Intellisense 插件, |
@OYsun 谢谢,.vue文件 import进来的没提示 这个应该怎么解决? |
目前发现在.vue文件里面的script标签,输入代码,不出现提示,除了script标签以外,其他地方都可以提示
The text was updated successfully, but these errors were encountered: