PDA

View Full Version : Webstorm plugin produces redudant requires missing errors



nikolay.bobrovskiy
19 Apr 2015, 2:24 AM
Hi!

Please look at this screenshot: https://s3.amazonaws.com/donnicky_screenshots/2015-04-19_13-22.png

It says model is missing in requires section when it is defined in models section of Application.

Mark.Brocato
20 Apr 2015, 8:47 AM
Good point - currently the plugin only looks at the classes that are used within each file. I have an open ticket to consider classes required by the parent class. I will add this as a use case. Thanks!

hakimio
6 May 2015, 3:17 AM
Any progress on this?

hakimio
6 May 2015, 4:49 AM
Also, when some component is already included in parent class "requires" section the plugin shouldn't tell me that I am missing it in child class requires section.

Chris.OBrien
6 May 2015, 5:10 AM
Also, when some component is already included in parent class "requires" section the plugin shouldn't tell me that I am missing it in child class requires section.

I'm actually looking into this now, along with getting it from the Application. We're hoping to have this in our next release.

nikolay.bobrovskiy
6 May 2015, 6:26 AM
One more case with redudant requires missing error:
if in requires section write 'Ext.direct.*' and then use for example Ext.direct.Manager in code then it says 'Missing Ext.direct.Manager in requires arrays'.

Mark.Brocato
6 May 2015, 11:17 AM
Thanks Nikolay,

We just happened to run into and fix that one yesterday. It will be part of the 0.3 release.

Chris.OBrien
18 May 2015, 7:32 AM
These issues have all been addressed in our 0.3 release, which is now available. http://plugins.jetbrains.com/plugin/7740