Notepad2 support for ActionScript changed

by Josh Tynjala

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.

5 Comments

Chris

Sweet thanks! I was boggled by the dropped AS support..

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.

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

Josh Tynjala

FYI, I now like using an editor called InType. You can get the ActionScript Bundle to add code coloring for AS.

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.

Leave a Comment

Note: New comments may need to be approved before they appear.

Some HTML allowed in comments: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

To display code in comments: <pre>Code here. May be multiline. Format XML with &gt; and &lt; entities.</pre>