Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse folding API

 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to ask you if the book touches the API for folding?

./pope
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't recall seeing anything about that when I read the book, no.
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In this case, is there any other info available about the folding API? (I have searched a lot but till now nothing).

./pope
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is folding API ?

It's mean like this or not ??
According to RFC 822, folding is the process of splitting a header field into multiple lines.
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by somkiat puisungnoen:
What is folding API ?


Eclipse 3.0 added the folding capabilitites. This means the fragments of source files can be collapsed/expended according to specific rules.(for example: collapse/expand Javadoc comments, collapse/expand method content, etc).

It is a nice features which allows you to see on the editor exactly what parts of the source code you are interested in.

./pope
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is a nice features which allows you to see on the editor exactly what parts of the source code you are interested in.


I dont like this one. Other day I had a tough time seraching for a method because it was hidden.
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Pradeep Bhat:


I dont like this one. Other day I had a tough time seraching for a method because it was hidden.


LOL. The folding doesn't stop the find usage. Maybe only visual search :-).

./pope
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's not a lot of documentation for the folding API right now. Here's a newsgroup posting which briefly outlines how you'd use it in your own code.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ali Pope:


LOL. The folding doesn't stop the find usage. Maybe only visual search :-).

./pope


I wasn't aware of the folding API feature. I thought someone deleted my code.
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ernest Friedman-Hill:
There's not a lot of documentation for the folding API right now. Here's a newsgroup posting which briefly outlines how you'd use it in your own code.


thanks Ernest. Pradeep sorry to hear that but sounds hilarious ;-).

./pope
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic