Syntax highlighting for AS2/AS3

11 views
Skip to first unread message

Marcelo de Moraes Serpa

unread,
Dec 5, 2006, 2:01:20 PM12/5/06
to trac-...@googlegroups.com
Does anyone know if there is a plug-in or patch to add syntax highlighting to trac for ActionScript 2 and ActionScript 3 languages? (Flash Platform). Also, where could I find a repository of available syntax highliters for trac?

Cheers,

Marcelo.

Matt Good

unread,
Dec 8, 2006, 12:10:30 AM12/8/06
to Trac Users

Information on syntax highlighting is here:
http://trac.edgewall.org/wiki/TracSyntaxColoring

I believe that ActionScript is based on ECMAScript a.k.a JavaScript, so
you could map the file extension to that mimetype in trac.ini with:

[mimeviewer]
application/x-javascript:fileextension

I don't know the proper file extension for ActionScript files, so
replace "fileextension" with whatever that should be.

-- Matt Good

Marcelo de Moraes Serpa

unread,
Dec 8, 2006, 5:32:03 AM12/8/06
to trac-...@googlegroups.com
Thanks Martin!

Marcelo.

Marcelo de Moraes Serpa

unread,
Dec 8, 2006, 5:34:50 AM12/8/06
to trac-...@googlegroups.com
Hi,

I don't know why I wrote Martin, just started the day, seems I'm still sleeping.

Sorry Matt, and thank you again ;)

Marcelo.
Reply all
Reply to author
Forward
0 new messages