Answer the question
In order to leave comments, you need to log in
Is there a way to hide code with comments?
For example, there is a block of code that I would like to collapse. I put some /**/ at the beginning of this code and something like that at the end and thus I get the opportunity to collapse everything that is inside. Is there such a possibility, and if so, in what editor?
Answer the question
In order to leave comments, you need to log in
in a storm you can https://www.jetbrains.com/phpstorm/help/folding-cu...
example
#region Description
$users = [];
// ...
#endregion
They answered their own question. Sublime allows you to collapse tags. Comments - no.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question