Menu

#117 seperators betweem pub/pro/priv methods

open
5
2003-09-21
2002-10-18
Anonymous
No

Hello,

Great stuff the Pretty Printer...

I would like to see if it is possible to included
certain seperators between public methods, protected
methods and private methods. I have included a 'style'
file of the style as I, and many others that U know,
like to use. I would be great if these seperators
could be added automatically. I realize that others
might find these seperators strange, but once you get
use to it, they are actually very nice. They are like
(sub)section headings in a text/paper/book.

I have tried to add them myself to the code, but I
could not found a handle that indicated that all public
methods have been processed and then next protected
methods are to be formatted and so one, also for
private methods and variable. Once you have such
handle, adding these seperators is easy to do.....

Thanks

Bart Kienhuis (kienhuis@liacs.nl)

Discussion

  • Nobody/Anonymous

    Style Sheet showing use of seperators

     
  • Mike Atkinson

    Mike Atkinson - 2003-09-21
    • assigned_to: nobody --> mikeatkinson
     
  • Mike Atkinson

    Mike Atkinson - 2003-10-08

    Logged In: YES
    user_id=476481

    This only makes sense if methods are sorted first by protection.

     

Log in to post a comment.

MongoDB Logo MongoDB