开发者

How to keep code foldings in PHPStorm/WebStorm like in TextMate?

开发者 https://www.devze.com 2023-04-11 06:28 出处:网络
PHPStorm, unlike TextMate, \"forgets\" the folded code areas when closing and opening the file again.

PHPStorm, unlike TextMate, "forgets" the folded code areas when closing and opening the file again.

Sometimes the foldings open by 开发者_如何学JAVAthemselves after search-and-replace, even though there were no matches inside the folded areas.

Is there a way to make PHPStorm remember my foldings in PHP/JavaScript/CSS files?


This is currently not possible.

There's a bunch of related issues in our tracker http://youtrack.jetbrains.net/issues/WI?q=%23Unresolved+folding


this can be possible by using comments like this

 // <editor-fold desc="My Code009" defaultstate="collapsed">
 // any code
 //</editor-fold>
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号