[6.8 dev] Collapsing if and foreach etc.

6 messages Options
Embed this post
Permalink
FlexJoly

[6.8 dev] Collapsing if and foreach etc.

Reply Threaded More More options
Print post
Permalink
Hi,



The latest version has this nice feature that it collapses al these code-blocks. But it has some setbacks:

- it is more difficult to see what the code is doing

- expanding must be done piece by piece or for the complete page



Ideas for solution:

- Dont collapse the statement-itself like is done with the function:


Code:
function myfuncname($param){....}






Code:
if(myif==notmyif && otherif==true){...}

foreach($arr as $key=>$val){...}







- command to expand/collapse anything within the part the cursor is

- command to expand/collapse the current function/method

- command to expand/collapse the current class

(The lastest 2 are commands in Zend studio)



Greetz! Joly

------------------------
Doing the impossible



Netbeans op z'n Hollands (http://visionfirst.nl/develops) or: NB for the Dutch





---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Pet-2

Re: [6.8 dev] Collapsing if and foreach etc.

Reply Threaded More More options
Print post
Permalink
Hi,

http://www.netbeans.org/issues/show_bug.cgi?id=172617

please vote!

Pet

On Thu, Oct 22, 2009 at 10:22 AM, FlexJoly <[hidden email]> wrote:

> Hi,
>
>
>
> The latest version has this nice feature that it collapses al these code-blocks. But it has some setbacks:
>
> - it is more difficult to see what the code is doing
>
> - expanding must be done piece by piece or for the complete page
>
>
>
> Ideas for solution:
>
> - Dont collapse the statement-itself like is done with the function:
>
>
> Code:
> function myfuncname($param){....}
>
>
>
>
>
>
> Code:
> if(myif==notmyif && otherif==true){...}
>
> foreach($arr as $key=>$val){...}
>
>
>
>
>
>
>
> - command to expand/collapse anything within the part the cursor is
>
> - command to expand/collapse the current function/method
>
> - command to expand/collapse the current class
>
> (The lastest 2 are commands in Zend studio)
>
>
>
> Greetz! Joly
>
> ------------------------
> Doing the impossible
>
>
>
> Netbeans op z'n Hollands (http://visionfirst.nl/develops) or: NB for the Dutch
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

radek matous

Re: [6.8 dev] Collapsing if and foreach etc.

Reply Threaded More More options
Print post
Permalink
In reply to this post by FlexJoly
FlexJoly wrote:

> Hi,
>
>
>
> The latest version has this nice feature that it collapses al these code-blocks. But it has some setbacks:
>
> - it is more difficult to see what the code is doing
>
> - expanding must be done piece by piece or for the complete page
>
>
>
> Ideas for solution:
>
> - Dont collapse the statement-itself like is done with the function:
>
>  
Could you report it?

http://wiki.netbeans.org/IssueReportingGuidelines
http://www.netbeans.org/community/issues.html

thanks
Radek

> Code:
> function myfuncname($param){....}
>
>
>
>
>
>
> Code:
> if(myif==notmyif && otherif==true){...}
>
> foreach($arr as $key=>$val){...}
>
>
>
>
>
>
>
> - command to expand/collapse anything within the part the cursor is
>
> - command to expand/collapse the current function/method
>
> - command to expand/collapse the current class
>
> (The lastest 2 are commands in Zend studio)
>
>
>
> Greetz! Joly
>
> ------------------------
> Doing the impossible
>
>
>
> Netbeans op z'n Hollands (http://visionfirst.nl/develops) or: NB for the Dutch
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

FlexJoly

[6.8 dev] Collapsing if and foreach etc.

Reply Threaded More More options
Print post
Permalink
In reply to this post by FlexJoly
Hi



Thanks for the replies.



Uh... it is already reported i see... ;)

Uhmm i think it is even assigned to you, radek or ?

I posted my suggestion in a comment, so i think you will see that one there. And my vote, of course.



Pleasssssss. It is really important. Cause this so nice feature is a bit f*cking up the code. And that cant be its purpose.



Greetz, Joly

------------------------
Doing the impossible



Netbeans op z'n Hollands (http://visionfirst.nl/develops) or: NB for the Dutch





---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

radek matous

Re: [6.8 dev] Collapsing if and foreach etc.

Reply Threaded More More options
Print post
Permalink
FlexJoly wrote:

> Hi
>
>
>
> Thanks for the replies.
>
>
>
> Uh... it is already reported i see... ;)
>
> Uhmm i think it is even assigned to you, radek or ?
>
> I posted my suggestion in a comment, so i think you will see that one there. And my vote, of course.
>
>
>
> Pleasssssss. It is really important. Cause this so nice feature is a bit f*cking up the code. And that cant be its purpose.
>  
Thanks, its reported to me.  I'm going to look at it till 6.8

Radek

>
>
> Greetz, Joly
>
> ------------------------
> Doing the impossible
>
>
>
> Netbeans op z'n Hollands (http://visionfirst.nl/develops) or: NB for the Dutch
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Jeremy Clarke

[6.8 dev] Collapsing if and foreach etc.

Reply Threaded More More options
Print post
Permalink
In reply to this post by FlexJoly
Just voted for this, very good idea.



A related problem exists with PHPDoc folding, where it doesn't show the first line of the doc even though it wouldn't take any more space to do so: http://www.netbeans.org/issues/show_bug.cgi?id=169660

------------------------
http://jeremyclarke.org





---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]