|
| Code folding - try again? | |
Joined: 27 Apr 2007 |
Posts: 72 |
|
|
|
Posted: Wed May 02, 2007 7:11 am |
|
|
|
|
|
Hello,
I must say I am very happy that we have code folding... but... it is almost unusable. Here is
a list what I think would make folding really great. It is sorted by my priority.
1) Shortcut to fold/unfold current fold block (I can not understand why we do not have these) - one key please, open/close, simple
2) Persistent "temporary" fold - when I select code, foldit, unfoldit - fold is gone!? What the hell?
3) Folding of if-else, foreach and BLOCKS! ({...})... and arrays (I mean long definition of arrays) - persistent again
4) When I select big part of code to foldit, I have to scroll-up to find this tiny (-) button, totally unreliable. (point 1 solves this)
5) Ability to fold in JAVASCRIPT or at least JAVASCRIPT as whole
6) Ability to fold any HTML TAG (which would partly implement 5. )
Please think about it, I really feel that at this point folding is really at 5% of its usefulness...
Thanks and keep up the good work!
|
|
|
| Re: Code folding - try again? | |
|
| | |
Site Admin
Joined: 13 Jul 2003 |
Posts: 8344 |
|
|
|
Posted: Wed May 02, 2007 9:32 am |
|
|
|
|
|
Quote: | 2) Persistent "temporary" fold - when I select code, foldit, unfoldit - fold is gone!? What the hell? |
Persistent "temporary" - that sounds good! Aren't the terms mutually exclusive?
PhpED's editor marks selected text as folds that you may collapse. Once you expand them, they will be converted to selected block again. If you move cursor, that text may become unselected and therefore fold is not available for it anymore.
as of the rest, I agree and actually we're moving in that directions.
|
_________________ The PHP IDE team
|
|
| | |
Guru master
Joined: 05 Jul 2004 |
Posts: 659 |
Location: Belgium |
|
|
Posted: Wed May 02, 2007 9:35 am |
|
|
|
|
|
Lol dmitri
I actually like the temporary folds, but I was silently hoping on a key combo to toggle a folds' persistence.
ie you select, you press keycombo: fold is persistent, you press combo "within" the fold again, returns to a normal selection or something similar.
But if all block elements could be folded (which you seem to indicate), I don't think there is much need for that anyway...
|
|
| Re: Code folding - try again? | |
Joined: 27 Apr 2007 |
Posts: 72 |
|
|
|
Posted: Wed May 02, 2007 10:53 am |
|
|
|
|
|
[quote="Blizz"] sirjarda wrote: | 1) Shortcut to fold/unfold current fold block (I can not understand why we do not have these) - one key please, open/close, simple |
You might want to check out the shop, there's a new build that has this.
Oh great!!! Thanks
|
|
| Re: Code folding - try again? | |
Joined: 08 Sep 2006 |
Posts: 72 |
Location: Poland |
|
|
Posted: Thu May 03, 2007 8:21 am |
|
|
|
|
|
Blizz wrote: | sirjarda wrote: | 1) Shortcut to fold/unfold current fold block (I can not understand why we do not have these) - one key please, open/close, simple |
You might want to check out the shop, there's a new build that has this. |
It has but it's still not perfect... I have so many shortcuts already that it was hard to set up another two for folding/unfolding area at cursor. Having TWO shortcuts for something that could be toggled with ONE is kinda inefficient for me.
Please consider making separate shortcut that would toggle the folding of the region at cursor.
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT - 5 Hours
Page 1 of 2
|
|
|
| |