Talk:Code folding
From Wikipedia, the free encyclopedia
As mentioned, quite an old 'IDE' using CodeFolding is GFA BASIC, mentioned as '"collapse" a procedure' in the article Oyd11 22:05, 25 May 2006 (UTC)
- Yes, as well as the famous old "Quick Basic" from Microsoft ;)
- Hibou57 | 22:11, 27 January 2008 (UTC)
[edit] Token-based vs User-specified
Hello,
The section about conventions, talks about token-based and user-specified. But the fact is that token-based is the implementation of user-specified folding, so perhaps the page should just talks about user-specified, giving a note telling that user-specified use tokens inside the source.
In my own way of understanding things, there are two types of folding editors :
- Passive folding (the editor generate folding automaticaly while parsing the code)
- Active folding (the user decide what folding will be)
An editor may permit both (as do Leo, for which one I've just added a link in the bottom of the page)
What do you think about the remark concerning token-based vs user-specified ?
Regards,
Hibou57 | 22:01, 27 January 2008 (UTC)
- While in a sense you're right, I still think they should be considered distinct from each other. Although I could understand changing the list so user-specified has two subsections: token-based and and anonymous, or something like that. -- Heptite (T) (C) (@) 06:05, 28 January 2008 (UTC)
[edit] User specified folding in Eclipse
The page states that user specified folding is a feature of eclipse. I haven't found it though. For java code, the only folding I have found is syntax based. No user specified, token based or intdention based folding as far as I have seen. Is the text on this wiki page really accurate? Are there any references that can verify this, if not, I think it should be removed? 89.253.76.62 (talk) 22:57, 14 May 2008 (UTC)
- Since noone has given any reference to other types of code folding in eclipse than syntax based, and I have searched and not found any code folding other than syntax based, I have changed the text on the page 89.253.76.62 (talk) 20:46, 22 May 2008 (UTC)

