How to rescan a file?
How can I rescan a file that PHPStorm is misreporting syntax errors in?
One developer on a project I am working on has an irrational love of switch trees - sometimes nesting them two or three deep, and PHPStorm often has issues when editing an existing switch statement, mostly flagging line endings with "Expected: Statement" errors. The file is syntactically correct, the problem is a bug in the IDE. If I close PHPStorm and reopen, the file no longer has any errors. Is there any way I can rescan the file without having to restart the program?
请先登录再写评论。
Select All - Cut - Paste