Class search is broken in WebStorm 2020.1

Hi,

I am working on a big ExtJS application and use WebStorm. Unfortunately after updating to WebStorm 2020.1 the class search (Ctrl+N) is broken for me. None of my classes show up when I search for them. It all worked perfectly up to WebStorm 2019.3.4. I already tried "Invalidate Cache and Restart" but to no avail.

Is there something else I missed that I need to do?

5 comments
Comment actions Permalink

What does your class definition look like? Navigate > Class works for classes defined as

Ext.define("Module.ClassA", {}

 as far as I can see

0
Comment actions Permalink

My class definition looks like you described. Nothing out of the ordinary. Navigation in the code (via Ctrl+Click) does work though.

0
Comment actions Permalink

I created a new Project and everything seems to work there... Then I went and renamed the .idea folder for my project and restarted WebStorm. Now the Class search is working but my project settings are gone. I will try to figure out what setting causes the issue.

0
Comment actions Permalink

Sorry for spamming but I already found the culprit: Its the JavaScript Language version. If set to ECMAScript 5.1 the class search is not working, its working for all other versions.

1
Comment actions Permalink

Thanks, reproduced. Logged as https://youtrack.jetbrains.com/issue/WEB-44965, please follow it for updates

0

Please sign in to leave a comment.