Formatter

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Formatter

Louis Sumberg-2
I like the formatter.  At first I found things were a bit too vertical, but
since I changed SmalltalkFormatter>>maxLineSize to return 100, I'm growing
fond of it *s*.


Reply | Threaded
Open this post in threaded view
|

Re: Formatter

Blair McGlashan
"Louis Sumberg" <[hidden email]> wrote in message
news:[hidden email]...
> I like the formatter.  At first I found things were a bit too vertical,
but
> since I changed SmalltalkFormatter>>maxLineSize to return 100, I'm growing
> fond of it *s*.

I've made that "configurable" (well a class variable) for the release. I'm
also hoping to include Don & John's new "configurable" formatter which John
has kindly sent me.

Regards

Blair


Reply | Threaded
Open this post in threaded view
|

Re: Formatter

Ian Bartholomew-3
Blair,

> I've made that "configurable" (well a class variable) for the release. I'm
> also hoping to include Don & John's new "configurable" formatter which
John
> has kindly sent me.

One other thing that I think should be configurable is the formatters
changing of numeric constants to decimal (unless it is optional and I didn't
spot where it can be changed?). If I type 2r10101010 into a method I usually
do it for a reason (documentation if nothing else) and I think the formatter
should leave it alone if possible.

Regards
    Ian


Reply | Threaded
Open this post in threaded view
|

Re: Formatter

Blair McGlashan
"Ian Bartholomew" <[hidden email]> wrote in message
news:[hidden email]...
> Blair,
>
> > I've made that "configurable" (well a class variable) for the release.
I'm
> > also hoping to include Don & John's new "configurable" formatter which
> John
> > has kindly sent me.
>
> One other thing that I think should be configurable is the formatters
> changing of numeric constants to decimal (unless it is optional and I
didn't
> spot where it can be changed?). If I type 2r10101010 into a method I
usually
> do it for a reason (documentation if nothing else) and I think the
formatter
> should leave it alone if possible.

True, and that came up in an e-mail interchange I had with John a week or so
ago. It turns out that it has been addressed, but may require RB Parser
modifications that we may not be able to adopt at this late stage.

Regards

Blair