Is there any way to change *.as files to always use ActionScript language? The file extension is set for both Haskell and ActionScript and it is quite an annoyance to have to manually set it to ActionScript everytime I open an ActionScript file, as it defaults to Haskell language. I tried disabling the Haskell language in settings, but it just opens *.as files with (Haskell formatting still?) no language selected.
All you need is modify langs.xml in Notepad++ installation directory - something like "c:\Program Files\Notepad++\langs.xml".
In langs.xml change line:
<Language name="haskell" ext="hs lhs as las" commentLine="--">
<Language name="haskell" ext="hs lhs las" commentLine="--">
Then (re)start notepad++, auto files opened files remember language so close and open them manually to re-set language.
That's what I had to do. I wound up trying to change what elements are styled with which style in ActionScript. While I was there I made that change before I read your post, but thank you that's just the answer I would have needed :D
Perhaps you can find something useful in the thread called "File Association settings are not saved" started by jfnieto on 2008-05-28 12:54.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.