2021.3.2 jQuery type definitions no longer working

I just updated from 2021.3.1 to 2021.3.2 and in doing so auto complete and other features related to it aren't functioning properly for jQuery specifically. I checked it and other 3rd party libraries and nothing seems to have changed in their settings. I tried installing the previous version of WebStorm to no avail, the problem still persists so its likely due to some configuration file that wasn't over written when I installed the older version.

Has anyone else run into issues with 3rd party libraries not functioning properly after updating WebStorm?

8 comments
Comment actions Permalink

Did you try deleting the libraries from Settings | Languages & Frameworks | JavaScript | Libraries using the Remove button and then re-downloading the typings?

0
Comment actions Permalink

Yes I have tried deleting and re-downloading the jQuery library to no affect.

0
Comment actions Permalink

works fine for me in 2021.3.2. Can you repeat the issue in a new project?

0
Comment actions Permalink

Hmm if I create a new project and include the library it appears to work perfectly. Are there other possible settings at the project level that could be getting in the way? I don't have any other libraries attached to the project that should be confusing its definitions.

0
Comment actions Permalink

can't think of any... Did you try invalidating caches? Can you see the library under the External Libraries node in the Project tool window?

 

0
Comment actions Permalink

Yes jQuery is still showing up under external libraries. I just tried invalidating WebStorms' cached files and this hasn't resolved the issue. Digging a little deeper it appears to be confusing the methods of jQuery elements with that of HTMLElement or ParentNode depending on the the specific method.

0
Comment actions Permalink

can't reproduce

please could you share a sample project it can be repeated with?

0
Comment actions Permalink

I'm not 100% I can easily copy this project with all of its settings it users a number of npm packages and other outside tools.

0

Please sign in to leave a comment.