Earlier this month, my favorite ultra-lightweight code editor for Windows, Notepad2 received its first update in nearly three years. Unfortunately, the author made one particular change that I’m not happy about. ActionScript is no longer a supported language. If you’re a Notepad2 user that just so happens to develop with ActionScript, here’s what you need to do to re-enable support for your language of choice.
- Click on the View menu and choose Customize Schemes….
- Choose the JavaScript type.
- In the input that contains js;jse, add ;as to the end. Note the semi-colon.
- Open an *.as file to see those delicious colors return!
Since JavaScript and ActionScript are both derivatives of the ECMAScript standard, they can use the same coloring and core syntax information. Hopefully a future release will generalize this setting to ECMAScript and include some more file types beyond JavaScript.
Sweet thanks! I was boggled by the dropped AS support..
A little late on coming to this, but I was a bit surprised by this as well. I touched base with Florian back in April about removing actionscript support and here was his reply:
So there you go, he just doesn’t use it. Good idea on the suggestion of a generalized ECMAScript setting. Perhaps you should let him know, he might change it.
Wow, happened to randomly search around for this, as I also use Notepad2 and was missing the AS support – and look who I found blogging about it 😉
Thanks Josh, as always you’re on it..
PS
I also like to add ;mxml to the XML document scheme
FYI, I now like using an editor called InType. You can get the ActionScript Bundle to add code coloring for AS.
as a long time user of notepad2 it does saden me a bit to see ’em yank good old actionscript out of there… i’m gonna give intype a bash… it looks new fresh and exciting… so long notepad2 you were good to me over the years, but its time to change.