Reputation:
I use WebStorm primarially to write code for my Express web server. WebStorm hangs when I am moving between lines or entering characters. It all started when I cloned and opened a new project that contained Cordova/Ionic stuff and let the IDE install some plugins for that.
Now I have no idea what plugins I installed or settings I changed, but I have tried EVERYTHING including uninstalling Node JS, reinstalling the latest WebStorm, clearing project IDEA folder, etc.
Upvotes: 10
Views: 4944
Reputation: 628
My problem was here:
'Preferences > Languages & Frameworks > JavaScript > Libraries'
The 'node_modules' directory had a minus (-) sign, meaning some items in it were enabled. I clicked it twice to uncheck it.
Upvotes: 1
Reputation: 11
@matmo's also worked for me, however I noticed the real difference when I marked the www folder as excluded. Webstorm would freeze for a fraction of a second even clicking between each folder to mark them as excluded. Once I excluded the www I was free from the aggravating freeze.
I am using Webstorm 2017.1.4 and Ionic 3.8.1 on a 2016 Macbook Pro 13.
Upvotes: 1
Reputation: 151
@matmo's answer worked well for me. I'm using Webstorm for an Ionic2 project and I hadn't excluded much. For me I excluded all but the ./src folder and the files in the root path of the project.
No more freezing (or rage).
Upvotes: 5