phpStorm supports jQuery very well since its 2.1 version. You just need to set it up properly and you’ll have the documentation displayed for every function. Very convinient. But if you use Yii, all phpStorm says about the jQuery functions is “have no idea”. We can fix it by simply marking /web/js/jquery.js file as plain text (right-click the file in the Project Explorer, choose “Mark as Plain text”). Well, before that, phpStorm was trying to find the documentation in that file, not in the one we specified in the settings.




