springeye / vue-for-idea

This is vue plugin for idea
https://plugins.jetbrains.com/plugin/9188
BSD 3-Clause "New" or "Revised" License
321 stars 45 forks source link

更新最新版后代码提示消失 #70

Open wplct opened 7 years ago

wplct commented 7 years ago

整个js的的代码提示都消失了, 我在台式机安装你的插件后提示消失,我一脸懵比 然后笔记本上本来有代码提示的,更新该插件后代码提示消失

466023746 commented 7 years ago

我也是的,现在node_modules有了,但是js代码提示,js自动格式化都没了

itbeihe commented 7 years ago

+1 ,vue-for-idea在新版中webstorm 2016.2中已经不能用了。插件代码下载到本地,放到IDEA 2016.1中 import com.intellij.javascript.nodejs.NodeDetectionUtil; 报错,搜索发现IDEA 2016.2 SDK 中没有上述类,是否有可能跟这个有关?

imr092 commented 7 years ago

同问,script标签内会被识别成html,求尽快修复。最近用webstorm写vue简直生无可恋了

wplct commented 7 years ago

楼上的各位,我现在用idea加vue.js(搜索可以找到)并关闭vue-for-idea插件可以有代码提示,新建vue文件可以自己写模板

yeatszhang commented 7 years ago

定义vue为html模板, 使用 <style lang="less" rel="stylesheet/less"></style> <script type="text/babel"></script> 代码高亮和format就都正常了,不过缺点是eslint高亮没法用。 webstorm下面的两个插件真心都不太好使...
atom写vue体验是很好的

itbeihe commented 7 years ago

@yeatszhang 很棒,vue文件终于可以不报错了。

aNd1coder commented 7 years ago

<script type="text/babel"></script> 好使,不过在 .vue 文件里没法跳转到被 import 的 node_modules 模块,.js 文件没问题的。

Nes-si commented 7 years ago

развели тут, блин