On 13 Nov 2001 at 15:51, Bluntpeak wrote:

> Hi,
> 
> I know code folding has been discussed before and may even make it into 
> idea soon but I just had another thought on how it may work.
> 
> As well as the normal collapse / show type hotkey commands when within 
> the editor pane how about a toggle option such that the folding follows 
> how the structure pane tree view is collapsed and expanded.
> 
> I use the structure view a lot and having bits I am not working on 
> collapsed is natural, extending this to the editor pane for the file 
> would, I think, make a lot of sense.
> 
> Couple this with the possibility to visually re-order, move and copy 
> methods by moving them within the structure pane and you may have a very 
> powerful interface to these operations.

This is a good idea.  This also leads to having code-folding include the comments.  
If a method is "closed", its comments don't show.  If it is "open", its comments show. 
 
I find that when I fold all of my code in kawa, the comments remain, and it is quite a 
pain to sort the wheat from the chaffe.  Since Idea gives us the ctrl-q for seeing 
javadoc, I don't see the need to have method javadoc present when code-folding.

Mike
---
[EMAIL PROTECTED]
To obtain my PGP public key, mail "SEND PUB KEY" in the 
subject to "[EMAIL PROTECTED]"


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to