vue-for-idea icon indicating copy to clipboard operation
vue-for-idea copied to clipboard

node-modules is hidden

Open murbanowicz opened this issue 9 years ago • 56 comments

Hi,

On gitter few people confirmed the same issue. This plugin is causing an issue with node-modules folder... no idea why

murbanowicz avatar Jun 20 '16 08:06 murbanowicz

Can confirm

pintomau avatar Jun 20 '16 15:06 pintomau

@mariaczi @crybat This is not a problem.I deliberately hide his show in the idea.

springeye avatar Jun 21 '16 04:06 springeye

@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 ?

murbanowicz avatar Jun 21 '16 07:06 murbanowicz

我刚开始接触vue,今天也遇到了这个问题。刚开始以为是自己设置的有问题,花了2个小时的时间也没找到原因。最后无奈卸载webstorm重新安装的过程中才发现是vue for idea插件引起的。在学习过程中我会查看node_modules里面的源码,这个问题可以修复吗?

yin-fan avatar Jun 21 '16 12:06 yin-fan

I have the same issue

DannyFeliz avatar Jun 21 '16 14:06 DannyFeliz

@yin-fan 收到,下一班我加入设置项。是否显示node_modules

springeye avatar Jun 30 '16 08:06 springeye

搞了半天问题出在这个插件身上,我还以为是 WebStorm 测试版的 bug。

minwe avatar Jul 01 '16 09:07 minwe

i met the same problem

tcstory avatar Jul 22 '16 13:07 tcstory

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

Chalkin avatar Jul 28 '16 18:07 Chalkin

Confirming for WebStorm 2016.1 / 2016.2

ccamarat avatar Aug 09 '16 14:08 ccamarat

This is significant bug. Vue plugin shouldn't make such a big side effects as hiding important folders.

piotros avatar Aug 11 '16 11:08 piotros

Definetely a bug. This makes the plugin unusable!

Chalkin avatar Aug 11 '16 15:08 Chalkin

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.

0neSe7en avatar Aug 15 '16 03:08 0neSe7en

It affected all projects not only for vue projects!

civet avatar Aug 19 '16 03:08 civet

还没有修复么?我搞了两个多小时才发现是插件问题

iliuyt avatar Aug 25 '16 07:08 iliuyt

please remove this "feature"!

steve-rhodes avatar Aug 29 '16 19:08 steve-rhodes

@henjue can we know why you do that? makes your plugin unusable for me.

aledmb avatar Sep 04 '16 02:09 aledmb

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).

Glutnix avatar Sep 06 '16 21:09 Glutnix

Yeah, this is obviously a bug that the developer refuses to look into.

Too bad.

aledmb avatar Sep 06 '16 21:09 aledmb

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.

Glutnix avatar Sep 06 '16 23:09 Glutnix

@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.

denofevil avatar Sep 07 '16 10:09 denofevil

any news?

sanex3339 avatar Oct 03 '16 15:10 sanex3339

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

denofevil avatar Oct 04 '16 14:10 denofevil

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

se-panfilov avatar Oct 06 '16 10:10 se-panfilov

这个BUG还没修复吗?我也找了半天,还以为是webstorm设置问题/(ㄒoㄒ)/~~ @henjue

rootsli avatar Oct 13 '16 03:10 rootsli

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 avatar Oct 15 '16 14:10 chancezeus

@chancezeus if you've found a problematic code it may be a good idea to fork this repository. Consider this ;)

piotros avatar Oct 15 '16 17:10 piotros

@denofevil as I see this plugin is published again without fixing reported bug: https://plugins.jetbrains.com/plugin/9188 :confused:

piotros avatar Oct 19 '16 11:10 piotros

@piotros, thank you for the update.

@henjue, please resolve issues mentioned above, or that upload will be removed too

denofevil avatar Oct 19 '16 11:10 denofevil

Seems that latest version has also broken code completion and identation, too :/

callumacrae avatar Oct 21 '16 10:10 callumacrae