Notepad2 support for ActionScript changed

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.

  1. Click on the View menu and choose Customize Schemes….
  2. Choose the JavaScript type.
  3. In the input that contains js;jse, add ;as to the end. Note the semi-colon.
  4. 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.

About Josh Tynjala

Josh Tynjala is a frontend developer, open source contributor, bowler hat enthusiast, and karaoke addict. You might be familiar with his project, Feathers UI, an open source user interface library for Starling Framework that is included in the Adobe Gaming SDK.

Discussion

  1. Mark

    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:

    Hello

    I’m sorry I don’t think I will add ActionScript again, as I never use
    it, myself. If there’s a modified version around with ActionScript
    support, I will list it on my website.

    –Florian

    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.

  2. Hepp Maccoy

    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

  3. ryan

    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.