Comments (7)
vscode打开速度非常快是因为它加载文件是按需加载,最近的新版本对这方面做的有点变态了,你这个问题其实你只要随便打开一个js文件,再回去看.vue文件后在script标签就有代码提示了,你可以试试。我实验了了一下,一开始启动vscode的时候,你没有打开任何js文件,那么html和.vue文件都没有js代码提示,但是只要你打开了js文件,就不会出现这个问题,可能是vscode默认启动不会加载js相关功能配置来提高打开速度,只有你打开了js文件才会加载有关于js的相关插件和功能。
from vscode-vuehelper.
不知道是否和别的插件冲突了
from vscode-vuehelper.
果然。。。。
from vscode-vuehelper.
我这边情况是: .vue里面console.x这样代码都有提示, 类似import X from '../../../libs/x' 这样的代码,首先不能定位文件,其次当输入 X. 的时候 也没有方法提示。是vsc本身不支持,还是我个人设置问题?
from vscode-vuehelper.
@yanghdx 定位文件需要这个 Path Intellisense 插件,console
这些原生javascript的方法本身vscode就会提示,外部文件export出来的方法和属性,需要import进来才会有提示。
from vscode-vuehelper.
@OYsun 谢谢,.vue文件 import进来的没提示 这个应该怎么解决?
from vscode-vuehelper.
"files.associations": {
"*.vue": "vue"
}
试一试去掉这个设置
from vscode-vuehelper.
Related Issues (20)
- My Snippet Collection HOT 1
- 建议在配置中加入提示文字语言的设置 HOT 5
- Vue文件中报错 HOT 1
- Drop syntax definition and split snippets for each languages HOT 1
- 0.0.9更新之后,代码高亮和代码提示都没有了 HOT 7
- inline style problem HOT 1
- Don't get any suggestion HOT 11
- 我安装了VueHelper,但是vue文件不起作用。 HOT 1
- vscode 1.10.2 版本装了无效果 HOT 8
- The Vue Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. HOT 2
- 如何给出中文解释的提示, 并在选择后自动注释出某个函数的功能介绍,
- 设置vscode以vue文件解析,VueHelper失效。
- 希望支持Emmet语法 HOT 1
- 大神你好啊,我vscode安装的包总是typescript的文件,能改成js的文件吗
- 关于组件内导航钩子的语法错误 HOT 1
- vertu 和 vuehelper 都有Snippet,如何关闭vertu的snippet,默认使用vuehelper都snippet? HOT 1
- 配置问题
- zh
- 11
- 您好,请问这个插件还有人在维护吗? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-vuehelper.