Re: Adding support section/segment separating comments

2012-12-17 Thread Behrang Saeedzadeh
Hi guys, Thanks for the replies. I was more looking for something like Eiffel's feature blocks I guess ( http://en.wikipedia.org/wiki/Eiffel_(programming_language)#Lexical_and_syntax_properties). Even though I can live without them, but I gotta admit that I like them... Cheers, Behrang Saeedzadeh

Re: Adding support section/segment separating comments

2012-12-13 Thread Jonathan Gibbons
Also note that some IDEs, like NetBeans, already provide the feature you are looking for, via "editor-fold" comments. -- Jon On 12/12/2012 11:55 PM, Remi Forax wrote: Hi Behrang, Jon Gibbons has recenly pushed a new API that allow to extract javadoc comment easily, so I think with this API y

Re: Adding support section/segment separating comments

2012-12-13 Thread Remi Forax
Hi Behrang, Jon Gibbons has recenly pushed a new API that allow to extract javadoc comment easily, so I think with this API you should be able to write your own Doclet to verify that the right section contains the right information. I'm not a big fan of this way to segment a class because deve

Adding support section/segment separating comments

2012-12-12 Thread Behrang Saeedzadeh
I remember I had seen in the past in another language, but the point is giving users some pointers about what methods in a section are doing in general. For example: public class Foo { // @section properties public int getBar() { ... } public void setBar(int bar) { ... } // @section event handl