Detect ActionScript 2/3 in TextMate
I made
a very rough tmplugin
(TM 1.x OSX 10.4+ UB) to search the word “package” in the beginning of first 20 lines of .as file to determine whether it’s AS3 or AS2, then select a proper bundle. It’s modified from
TabMate
.
You should have
ActionScript
and
ActionScript 3
tmbundle before install this tmplugin.