- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Improving the TextMate support for Scala
Thu, 2009-01-15, 01:32
Hi all,
In the "Poll: what do you code Scala in?" thread, a few people
expressed an interest in enhancements to the Scala support for TextMate.
I'm using the ScalaAWH bundle from Aaron Harnly [1] and have made some
extensions, most notably support for symbols, which makes moving
around in a Scala file much easier.
Anyway, I've tried to contact Aaron to contribute my changes back to
his version, but without any success. Is anyone interested in pooling
resources to develop a more capable official version of a Scala
TextMate bundle?
cheers,
Tony
[1] http://harnly.net/2007/blog/geek/macosx/textmate-bundle-for-scala/
Thu, 2009-01-15, 01:57
#2
Re: Improving the TextMate support for Scala
I tried to unify the two Scala TextMate bundles a couple months back.
I contacted the authors, both of whom got back to me inside of two
days. I then introduced them and asked how I could help them move
forward. Some time passed, nothing happened, and I never heard back
from them on further inquiry.
My sense is that the bundles on their blogs and on GitHub are probably
further along than the one in scala-tool-support. I'd very much like
to see/help with an authoritative TextMate bundle, though.
On Wed, Jan 14, 2009 at 16:35, Jorge Ortiz wrote:
> The Scala repo keeps track of some text editor support, including Textmate
> (see:
> http://lampsvn.epfl.ch/trac/scala/browser/scala-tool-support/trunk/src).
>
> The Textmate support in particular hasn't been touched since it was added 18
> months ago. If you submit a patch it will probably be accepted.
>
> --j
>
> On Wed, Jan 14, 2009 at 4:28 PM, Tony Sloane wrote:
>>
>> Hi all,
>>
>> In the "Poll: what do you code Scala in?" thread, a few people expressed
>> an interest in enhancements to the Scala support for TextMate.
>>
>> I'm using the ScalaAWH bundle from Aaron Harnly [1] and have made some
>> extensions, most notably support for symbols, which makes moving around in a
>> Scala file much easier.
>>
>> Anyway, I've tried to contact Aaron to contribute my changes back to his
>> version, but without any success. Is anyone interested in pooling resources
>> to develop a more capable official version of a Scala TextMate bundle?
>>
>> cheers,
>> Tony
>>
>> [1] http://harnly.net/2007/blog/geek/macosx/textmate-bundle-for-scala/
>>
>
>
Thu, 2009-01-15, 04:07
#3
Re: Improving the TextMate support for Scala
I too have hacked on the bundle. I would be happy to help.
dean
On Wed, Jan 14, 2009 at 6:54 PM, Alex Payne wrote:
> I tried to unify the two Scala TextMate bundles a couple months back.
> I contacted the authors, both of whom got back to me inside of two
> days. I then introduced them and asked how I could help them move
> forward. Some time passed, nothing happened, and I never heard back
> from them on further inquiry.
>
> My sense is that the bundles on their blogs and on GitHub are probably
> further along than the one in scala-tool-support. I'd very much like
> to see/help with an authoritative TextMate bundle, though.
>
> On Wed, Jan 14, 2009 at 16:35, Jorge Ortiz wrote:
>> The Scala repo keeps track of some text editor support, including Textmate
>> (see:
>> http://lampsvn.epfl.ch/trac/scala/browser/scala-tool-support/trunk/src).
>>
>> The Textmate support in particular hasn't been touched since it was added 18
>> months ago. If you submit a patch it will probably be accepted.
>>
>> --j
>>
>> On Wed, Jan 14, 2009 at 4:28 PM, Tony Sloane wrote:
>>>
>>> Hi all,
>>>
>>> In the "Poll: what do you code Scala in?" thread, a few people expressed
>>> an interest in enhancements to the Scala support for TextMate.
>>>
>>> I'm using the ScalaAWH bundle from Aaron Harnly [1] and have made some
>>> extensions, most notably support for symbols, which makes moving around in a
>>> Scala file much easier.
>>>
>>> Anyway, I've tried to contact Aaron to contribute my changes back to his
>>> version, but without any success. Is anyone interested in pooling resources
>>> to develop a more capable official version of a Scala TextMate bundle?
>>>
>>> cheers,
>>> Tony
>>>
>>> [1] http://harnly.net/2007/blog/geek/macosx/textmate-bundle-for-scala/
>>>
>>
>>
>
>
>
> --
> Alex Payne
> http://twitter.com/al3x
>
Thu, 2009-01-15, 17:17
#4
Re: Improving the TextMate support for Scala
On Thu, Jan 15, 2009 at 11:28:32AM +1100, Tony Sloane wrote:
> Anyway, I've tried to contact Aaron to contribute my changes back to his
> version, but without any success. Is anyone interested in pooling
> resources to develop a more capable official version of a Scala TextMate
> bundle?
That would be great. I'm not suggesting this be any sort of official repository, but to save anyone else a
little time I put all the bundles I know about (AWH's, scala-tools, and the one in textmate's bundle repo) in
a git repo:
http://github.com/paulp/scala-textmate/tree/master
I've never written a textmate bundle and don't have time at the moment to familiarize myself with the
particulars; if anyone can say for sure if 1 or 2 of these are inferior in all ways to one of the others, it'd
simplify consolidation.
Fri, 2009-01-16, 00:47
#5
Re: Improving the TextMate support for Scala
On 16/01/2009, at 3:07 AM, Paul Phillips wrote:
> On Thu, Jan 15, 2009 at 11:28:32AM +1100, Tony Sloane wrote:
>> Anyway, I've tried to contact Aaron to contribute my changes back
>> to his
>> version, but without any success. Is anyone interested in pooling
>> resources to develop a more capable official version of a Scala
>> TextMate
>> bundle?
>
> That would be great. I'm not suggesting this be any sort of
> official repository, but to save anyone else a
> little time I put all the bundles I know about (AWH's, scala-tools,
> and the one in textmate's bundle repo) in
> a git repo:
>
> http://github.com/paulp/scala-textmate/tree/master
>
> I've never written a textmate bundle and don't have time at the
> moment to familiarize myself with the
> particulars; if anyone can say for sure if 1 or 2 of these are
> inferior in all ways to one of the others, it'd
> simplify consolidation.
Thanks for setting up the repo. I don't claim to be a TextMate expert
by any means, but I'll take a look and write up a summary of features
of the existing bundles. Then we can decide how to proceed.
cheers,
Tony
Fri, 2009-01-16, 04:47
#6
Re: Improving the TextMate support for Scala
On 16/01/2009, at 10:37 AM, I wrote:
> Thanks for setting up the repo. I don't claim to be a TextMate
> expert by any means, but I'll take a look and write up a summary of
> features of the existing bundles. Then we can decide how to proceed.
Ok, below is a brief summary of the three Scala TextMate bundles at
http://github.com/paulp/scala-textmate/tree/master
The summary of the summary is that the "Scala" one seems to be the
most useful base for future work, primarily because of its more
extensive syntax definitions and some support for symbols.
cheers,
Tony
A summary of the main features of the available Scala plugins for
TextMate
Scala
commands
compile current file with scalac
show API doc for current word
run script with scala
symbol list
methods and constructors
snippets
class, foldLeft, for, function, if, ife, lambda, match
object, range, toString, trait, while
multiline string
extensive syntax support
ScalaAWH
commands
compile current file with scalac
run script with scala
snippets
class, match
AppleScript to load a snippet from external file
moderate syntax support
templates
Scala Ant buildfile
ScalaLAMP
seems to be an instantiation of a Java bundle with little or no
Scala-specific changes
The Textmate support in particular hasn't been touched since it was added 18 months ago. If you submit a patch it will probably be accepted.
--j
On Wed, Jan 14, 2009 at 4:28 PM, Tony Sloane <inkytonik@gmail.com> wrote: