- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Ticket #4372 - Scaladoc enhancement: remove whitespace before colons
Mon, 2011-03-28, 18:50
Hello internals,
I just saw that my enhancement ticket Ticket #4372 - "Scaladoc
enhancement: remove white space before colons" got solved. Very nice!
I was just about to work out a patch for it myself, but Kazuyoshi beat
me to it, it seems. :-)
But what just came to my mind is the following: there are methods /
members ending with a colon. In this case the white space should be
preserved, I think. Else it is too easy to misinterpret the name of
the method / member. At least I guess so, as I haven't seen it in
action yet.
What do you think?
Besides, Kazuyoshi what did you do to get commit rights? ;-)
Regards,
Rüdiger
On Tue, Mar 29, 2011 at 2:49 AM, Rüdiger Keller
wrote:
>
> I just saw that my enhancement ticket Ticket #4372 - "Scaladoc
> enhancement: remove white space before colons" got solved. Very nice!
>
> I was just about to work out a patch for it myself, but Kazuyoshi beat
> me to it, it seems. :-)
>
;-)
> But what just came to my mind is the following: there are methods /
> members ending with a colon. In this case the white space should be
> preserved, I think. Else it is too easy to misinterpret the name of
> the method / member. At least I guess so, as I haven't seen it in
> action yet.
>
Don't worry. we still put whitespace after name of method and member.
def +: (n: Int): Int
val -: : Int
> Besides, Kazuyoshi what did you do to get commit rights? ;-)
>
Probably, Scaladoc don't have *formal* process to become a committer.
In my case, I sent some patches to Gilles Dubochet before get commit rights.
My first patch is http://lampsvn.epfl.ch/trac/scala/changeset/23042.
Regards,