vue-for-idea
vue-for-idea copied to clipboard
node-modules is hidden
Hi,
On gitter few people confirmed the same issue. This plugin is causing an issue with node-modules folder... no idea why
Can confirm
@mariaczi @crybat This is not a problem.I deliberately hide his show in the idea.
@henjue I think it's causing issues with some autocompletion and also, sometimes you want to take a look at some files inside node_modules to understand what's going on in background. Can you unhide it ?
我刚开始接触vue,今天也遇到了这个问题。刚开始以为是自己设置的有问题,花了2个小时的时间也没找到原因。最后无奈卸载webstorm重新安装的过程中才发现是vue for idea插件引起的。在学习过程中我会查看node_modules里面的源码,这个问题可以修复吗?
I have the same issue
@yin-fan 收到,下一班我加入设置项。是否显示node_modules
搞了半天问题出在这个插件身上,我还以为是 WebStorm 测试版的 bug。
i met the same problem
I can confirm. I have the same issue. node_modules is hidden when vue-for-idea is activated. This is really anyoing.
Version: PHPStorm 2016.2
Confirming for WebStorm 2016.1 / 2016.2
This is significant bug. Vue plugin shouldn't make such a big side effects as hiding important folders.
Definetely a bug. This makes the plugin unusable!
Not only node_modules folder. I create a folder and a file in this folder, and then I delete the new file, the folder is hidden.
It affected all projects not only for vue projects!
还没有修复么?我搞了两个多小时才发现是插件问题
please remove this "feature"!
@henjue can we know why you do that? makes your plugin unusable for me.
Hiding a folder without explanation is frustrating. Forcing it to be excluded should be the decision of the plugin user, not the plugin author.
The Node.js plugin doesn't do this, so why should the Vue plugin? The PHP Composer support in PhpStorm doesn't do this with the vendor folder either (though it does put all the external libraries in the External Libraries part of the Project tree).
Yeah, this is obviously a bug that the developer refuses to look into.
Too bad.
After trying to find the code that hides the folder in this plugin, I can't see it consciously being being removed. It really looks like a bug. That said I don't know the inner workings of JetBrains/IDEA.
For the record, @henjue, I contacted JetBrains support about node_modules disappearing, and they were the ones who sent me a link to this GitHub issue, and within 12 hours too! They know this plugin is doing this weird thing.
💀
I've uninstalled this plugin, and have switched to John Kelly's Vue.js plugin. It has more stars.
@henjue we're receiving quite a lot of complaints about this issue via JetBrains support channels. We’d really appreciate if you fix this problem as well as incorrectly closed #28, otherwise we'll be considering removing this plugin from the plugin repository.
any news?
The plugin has been removed from the repository due to reasons stated in my previous comment and due to no cooperation from the author. Please use John Kelly's Vue.js plugin
Weird stuff, moving to John Kelly's Vue.js plugin
Also I've mention this bug on stackoverflow: How to integrate WebStorm with Vue.js
这个BUG还没修复吗?我也找了半天,还以为是webstorm设置问题/(ㄒoㄒ)/~~ @henjue
Just a note for anyone more at home in idea plugin development.
In the branches pw and develop there is a setting in the plugin.xml file:
<treeStructureProvider implementation="io.j99.idea.vue.structure.VueTreeStructureProvider"/>
This line references the file plugin/src/main/java/io/j88/idea/vue/structure/VueTreeStructureProvider.java. On lines 29, 33 and 34 is the offending code. If these lines are to be removed, I think it is best to remove both the plugin.xml line and file, since the file won't do anything anymore.
Just my 2 ct.
@chancezeus if you've found a problematic code it may be a good idea to fork this repository. Consider this ;)
@denofevil as I see this plugin is published again without fixing reported bug: https://plugins.jetbrains.com/plugin/9188 :confused:
@piotros, thank you for the update.
@henjue, please resolve issues mentioned above, or that upload will be removed too
Seems that latest version has also broken code completion and identation, too :/