mstdmstd 0 Posted October 25 Hello, I have PhpStorm 2019.2.3 and wonder if it some plugin/tools to keep my php/html/vue/js code within PSR-2 rules ? Thanks! Quote Share this post Link to post Share on other sites
kicken 507 Posted October 25 For PHP you can go to Settings -> Editor -> Code Style -> PHP and on the right there is a Set from... link. Click it and choose Predefined Style -> PSR1/PSR2 That'll give you a basic setup which you could tweak as desired. While your editing a file you can press CTRL+ALT+L to have it re-format the document according to your style settings. 1 Quote Share this post Link to post Share on other sites
mstdmstd 0 Posted October 26 Thanks! Also In my projects I use blade,vue, javascript . 1) Do they have PSR2 format utility or maybe something similar it? 2) Are there some tools not refomat code, but show me errors not inside PSR2 ? Quote Share this post Link to post Share on other sites