- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
[ANN] Scalariform, a Scala source formatter + an Eclipse plugin
Mon, 2010-04-12, 10:30
Hi everyone, I'd like to announce the first release of Scalariform, a
source code formatter for Scala 2.8. To install the Eclipse plugin,
first install the Scala Eclipse nightly plugin, then pull Scalariform
from this update site:
http://scalariform.googlecode.com/svn/trunk/update-site/
Some documentation:
http://mdr.github.com/scalariform/
Code:
http://github.com/mdr/scalariform
Feedback / feature requests very welcome,
Mon, 2010-04-12, 17:27
#2
Re: [ANN] Scalariform, a Scala source formatter + an Eclipse p
Are you going to contribute it to the EPFL plugin?
On Mon, Apr 12, 2010 at 5:30 AM, Matt R <MattRussellUK@gmail.com> wrote:
On Mon, Apr 12, 2010 at 5:30 AM, Matt R <MattRussellUK@gmail.com> wrote:
Hi everyone, I'd like to announce the first release of Scalariform, a
source code formatter for Scala 2.8. To install the Eclipse plugin,
first install the Scala Eclipse nightly plugin, then pull Scalariform
from this update site:
http://scalariform.googlecode.com/svn/trunk/update-site/
Some documentation:
http://mdr.github.com/scalariform/
Code:
http://github.com/mdr/scalariform
Feedback / feature requests very welcome,
Tue, 2010-04-13, 12:57
#3
Re: [ANN] Scalariform, a Scala source formatter + an Eclipse p
> Are you going to contribute it to the EPFL plugin?
Well, the intention long term is to rewrite Scalariform to use a
different approach (to work with Scalac ASTs directly, as opposed to a
custom parser), so it may be worth waiting until then. Miles would be
very welcome to incorporate it into SDT as it stands, though. There's
a patch to do so here:
http://github.com/mdr/scalariform/blob/master/eclipse/add-formatter-to-s...
Tue, 2010-04-13, 13:07
#4
Re: [ANN] Scalariform, a Scala source formatter + an Eclipse p
On Tue, Apr 13, 2010 at 12:54 PM, Matt Russell
wrote:
>> Are you going to contribute it to the EPFL plugin?
>
> Well, the intention long term is to rewrite Scalariform to use a
> different approach (to work with Scalac ASTs directly, as opposed to a
> custom parser), so it may be worth waiting until then. Miles would be
> very welcome to incorporate it into SDT as it stands, though. There's
> a patch to do so here:
>
> http://github.com/mdr/scalariform/blob/master/eclipse/add-formatter-to-sdt.patch
I'd prefer to see a formatter based on scalac's ASTs but, depending on
how the timing works out, it might still be a good idea to include
Scalariform as is ... that's something Matt and I will be talking
about at Scala Days :-)
Cheers,
Miles
Tue, 2010-04-13, 15:57
#5
Re: [ANN] Scalariform, a Scala source formatter + an Eclipse p
On Tue, Apr 13, 2010 at 7:00 AM, Miles Sabin <miles@milessabin.com> wrote:
Whatever is decided on, please enable source formatting as a Save Action.
I'd prefer to see a formatter based on scalac's ASTs but, depending on
how the timing works out, it might still be a good idea to include
Scalariform as is ... that's something Matt and I will be talking
about at Scala Days :-)
Whatever is decided on, please enable source formatting as a Save Action.
Tue, 2010-04-13, 16:17
#6
Re: [ANN] Scalariform, a Scala source formatter + an Eclipse p
On Tue, Apr 13, 2010 at 3:56 PM, Nils Kilden-Pedersen wrote:
> On Tue, Apr 13, 2010 at 7:00 AM, Miles Sabin wrote:
>>
>> I'd prefer to see a formatter based on scalac's ASTs but, depending on
>> how the timing works out, it might still be a good idea to include
>> Scalariform as is ... that's something Matt and I will be talking
>> about at Scala Days :-)
>
> Whatever is decided on, please enable source formatting as a Save Action.
Oh yes ... you can be sure I'll be doing that.
Cheers,
Miles
On Mon, Apr 12, 2010 at 10:30 AM, Matt R wrote:
> Hi everyone, I'd like to announce the first release of Scalariform, a
> source code formatter for Scala 2.8. To install the Eclipse plugin,
> first install the Scala Eclipse nightly plugin, then pull Scalariform
> from this update site:
>
> http://scalariform.googlecode.com/svn/trunk/update-site/
>
> Some documentation:
>
> http://mdr.github.com/scalariform/
>
> Code:
>
> http://github.com/mdr/scalariform
>
> Feedback / feature requests very welcome,
This is great stuff :-)
Cheers,
Miles