Some way to prevent PHPStorm from trying to run validation or whatever until I stop typing for like a second?
It just seems to be running validation or something every second and a half regardless of whether I'm still typing or clicking, causing these weird lag breaks when I'm typing.
I've tried to figure out what's causing the slowdown, but it just seems like it would be almost totally avoided if it just didn't even try to run this validation or whatever until I stop typing for 1 second or more.
Is there a setting for this? As I'm typing here in the WYSIWYG, I'm experiencing no lag or anything while typing. It's driving me crazy that PHPStorm is doing it.
Please sign in to leave a comment.
Could you please attach a screenshot of this validation?
What file type are you typing in? What's the WYSISYG plugin/feature are you using?
A screenshot of my assertion of why it's lagging? I could make you a camera video of the lag on the screen while I'm typing, but I can't show proprietary code and that seems completely unnecessary anyway considering my description already describes the behavior.
I'm in a .php file in a PHP project in PHPStorm.
I don't know how to better explain it except that it the cursor would freeze while I typed every second and a half... this WYSIWYG I'm typing into right here right now doesn't have the problem (like most).
Unfortunately, it is hard to tell for sure what exactly is causing lags. Would it be possible to reproduce the scenario, collect log files & CPU snapshot and contact support team (Help > Contact support) or report the issue on YouTrack (https://youtrack.jetbrains.com/NewIssue)?
- You may collect logs via "Help > Compress logs and show" menu option;
- CPU snapshot collection instructions: https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems
As a temporary workaround, you may try disabling inspections or enabling Power Save mode. These options could be invoked by clicking on the icon with the man in a hat (his name is Hector, by the way) in the right below corner:
Thanks. It happens randomly so I'll try the Highlighting Level setting and logging when it does again.