-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hello friends.
I use Visual studio code as PHP IDE (among other languages). I'm currently using autofold with great pleasure, but there is a catch.
I want only the methods to collapse and not the conditions within them.
With the methods it works very well at level 3:
{"ext": ".php", "level": 3}
But it also minimizes conditions (if, else, etc.) and loops (for, foreach, etc.)
public function test_function () // <-- Collapse perfect!
{
If (condition = 1) // <-- I don't want it to collapse
{
echo 'Hello World!';
}
}
Thanks!
JM
Metadata
Metadata
Assignees
Labels
No labels