An ATS mode for SublimeText and TextMate

Thanks!

It is much more than nothing :slight_smile:

Once you can highlight keywords, I would say that it is 90% done.On Wednesday, January 28, 2015 at 5:00:52 PM UTC-5, Yannick DuchĂȘne wrote:

Le vendredi 6 décembre 2013 05:12:03 UTC+1, Steinway Wu a écrit :

Hello,

GitHub - steinwaywhw/ats-mode-sublimetext: An ATS mode for Sublime Text 2/3 and TextMate

This is a very ugly ats mode for sublimetext, but at least it is better
than nothing. [
]

Better than nothing too, is the language definition file added as
attachment to this message, I’m using for GtkSourceView based editors
(Gedit and rather Medit, actually). I’m also adding the MIME type
definition and icon file to be used by people running a Freedesktop aware
environment.

The language definition file is subject to change, as I’m incrementally
updating and refining it, but as this thread shown up, I’m posting it here
(it’s not perfect, but good enough).

Note: I’m using a slightly modified Solarized Dark theme, and I have not
check the language definition looks good with other themes.

Good idea! I think @Will Blair has done that? I’m not sure but I will take
a look. If needed I will do that.On Sunday, January 11, 2015 at 1:29:46 AM UTC-5, Brandon Barker wrote:

It might be fun to have some version of this put in a place (not sure
which place yet, but presumably upstream somewhere) where github’s linguist
will be able to find it: GitHub - github-linguist/linguist: Language Savant. If your repository's language is being reported incorrectly, send us a pull request!

Then, we can have proper source highlighting for ATS on github.

On Thu, Dec 5, 2013 at 11:12 PM, Steinway Wu <stei...@gmail.com <javascript:>> wrote:

Hello,

GitHub - steinwaywhw/ats-mode-sublimetext: An ATS mode for Sublime Text 2/3 and TextMate

This is a very ugly ats mode for sublimetext, but at least it is better
than nothing. Hopefully it will make you a little bit happier if you are
using sublimetext. Also, I believe it should work with textmate, too.

And you are welcome to modify or contribute to it.

Thank you!

–
You received this message because you are subscribed to the Google Groups
“ats-lang-users” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to ats-lang...@googlegroups.com <javascript:>.
To post to this group, send email to ats-l...@googlegroups.com
<javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ats-lang-users/aa687715-10b2-4e28-b6d8-d4c3013f0f16%40googlegroups.com
.

–
Brandon Barker
brand...@gmail.com <javascript:>

Hello,

GitHub - steinwaywhw/ats-mode-sublimetext: An ATS mode for Sublime Text 2/3 and TextMate

This is a very ugly ats mode for sublimetext, but at least it is better
than nothing. [
]

Better than nothing too, is the language definition file added as
attachment to this message, I’m using for GtkSourceView based editors
(Gedit and rather Medit, actually). I’m also adding the MIME type
definition and icon file to be used by people running a Freedesktop aware
environment.

The language definition file is subject to change, as I’m incrementally
updating and refining it, but as this thread shown up, I’m posting it here
(it’s not perfect, but good enough).

Note: I’m using a slightly modified Solarized Dark theme, and I have not
check the language definition looks good with other themes.

ats.lang (24.5 KB)

ats.xml (707 Bytes)

I added a tiny utility to reformat messages from ATS. This may be useful
to messages pans of editors which has the capability to run external tools
(I use it with MEdit, alias MooEdit) . My apologizes for not releasing as
ATS, which may be done a future day (the Python source does not make use of
regexp, on purpose).

Instructions for use and what re‑formating is applied, is explained in the
file it‑self:

https://github.com/Hibou57/ats2-language-support/blob/master/ats-messages-filter.py

Please, don’t use this filter. It was ugly and is now obsolete. I have now
a repository for another better one.

Atext files are still in active use.

There is just no plan to improve the handling of Atext files.On Saturday, January 31, 2015 at 8:51:24 PM UTC-5, Brandon Barker wrote:

re: the github thread, do we actually want to remove atxt - is it being
deprecated?

On Fri, Jan 30, 2015 at 4:46 PM, Brandon Barker <brand...@gmail.com <javascript:>> wrote:

Great, looking forward to it! But yes, as Hongwei pointed out as well, I
am prepared to wait a while and possibly give it a nudge after a few days.

On Fri, Jan 30, 2015 at 1:34 PM, Steinway Wu <stei...@gmail.com <javascript:>> wrote:

@Brandon Barker, I’ve issued pull request to github/linguist, please see
Adding ATS language support by converting existing SublimeText syntax def by steinwaywhw · Pull Request #2057 · github-linguist/linguist · GitHub. Hope we can see better
highlight shortly.

On Sunday, January 11, 2015 at 1:29:46 AM UTC-5, Brandon Barker wrote:

It might be fun to have some version of this put in a place (not sure
which place yet, but presumably upstream somewhere) where github’s linguist
will be able to find it: GitHub - github-linguist/linguist: Language Savant. If your repository's language is being reported incorrectly, send us a pull request!

Then, we can have proper source highlighting for ATS on github.

On Thu, Dec 5, 2013 at 11:12 PM, Steinway Wu stei...@gmail.com wrote:

Hello,

GitHub - steinwaywhw/ats-mode-sublimetext: An ATS mode for Sublime Text 2/3 and TextMate

This is a very ugly ats mode for sublimetext, but at least it is
better than nothing. Hopefully it will make you a little bit happier if you
are using sublimetext. Also, I believe it should work with textmate, too.

And you are welcome to modify or contribute to it.

Thank you!

–
You received this message because you are subscribed to the Google
Groups “ats-lang-users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to ats-lang...@googlegroups.com.
To post to this group, send email to ats-l...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/ats-lang-users/aa687715-10b2-4e28-b6d8-d4c3013f0f16%
40googlegroups.com.

–
Brandon Barker
brand...@gmail.com

–
You received this message because you are subscribed to the Google
Groups “ats-lang-users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to ats-lang...@googlegroups.com <javascript:>.
To post to this group, send email to ats-l...@googlegroups.com
<javascript:>.
Visit this group at http://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ats-lang-users/5ae00ba6-13a8-437e-b0bd-a25d57aabb60%40googlegroups.com
https://groups.google.com/d/msgid/ats-lang-users/5ae00ba6-13a8-437e-b0bd-a25d57aabb60%40googlegroups.com?utm_medium=email&utm_source=footer
.

–
Brandon Barker
brand...@gmail.com <javascript:>

–
Brandon Barker
brand...@gmail.com <javascript:>