MXML editor ciolors & fonts

Hello guys,

Today I thought I'd give EAP 11 a shot.
Everything works perfectly except for one thing. I've spent about an hour setting up new colors & fonts for ActionScript and it seems perfect! However, when I open MXML file with Script tag contained within, the code inside Script tag looks awful.
Colors are totally different from those in regular .as files

Any idea why is that?
Even worse, I am not able to find settings for MXML Script coloring....

8 comments
Comment actions Permalink

May be Colors&Fonts | General | Injected language fragment will help. Note that it affects all injections, not only AS into MXML. If it doesn't help please attach some screenshots.

0
Comment actions Permalink

Well, it didn't really help much.
I went as far as duplicating same code to both MXML and AS to show you what I'm on about.



Attachment(s):
as.png
mxml.png
0
Comment actions Permalink

Got it! IDEA highlights ActionScript injected in MXML according to JavaScript color settings. Not obvious, sorry.

0
Comment actions Permalink

Thanks for your answer!
Can I somehow base JavaScript coloring on already existing ActionScript one? (similar to code formatting)

0
Comment actions Permalink

I'm afraid no. Improvements are definitely needed in Colors&Fonts usability.

0
Comment actions Permalink

Yeah, it does.
Thanks!

0

Please sign in to leave a comment.