Disable autoformat in IntelliJ / PHPStorm

When using IntelliJ or PHPStorm as IDE, I use the autoformat for code (Code -> Reformat Code or Ctrl+Alt+L). It works great. But in some cases I need to disable autoformat for some parts of the code. This is how you can disable autoformat in your code:

The result after executing the autoformat command […]

Fix problems with PHPStorm’s missing code completion and inspection

From time to time PHPStorm’s code completion stops working correctly (v 7.1.x). You’ll get no more hints and error positions will keep their marking although you fixed them. The solution in to run “File -> Invalidate Caches / Restart …“. After that, the IDE restarts and everything will work great again.  


Manual Install The following Instructions based on http://xdebug.org/wizard.php help you to install it manually: Download the latest version (xdebug-x.x.x.tgz) from  http://xdebug.org/download.php Unpack the downloaded file with:

On shell run:

Result should be:

Please consider the number! If you got different results, look at http://xdebug.org/docs/install for help. Next shell commands:

Change or […]