Search code examples
phpstorm

Initially fold certain(code) blocks in phpstorm?


I know phpstorm supports certain PHPDOC annotations to perform certain parser operations for example for the code inspection to not inspect certain areas.

Now I wonder is there such an annotation (correct word even?) to fold certain blocks of code (or classes/methods/functions even) to always initially fold that block upon loading the file?


Solution

  • Custom code folding regions were introduced in PhpStorm 4.0.