8 Replies Last post: Jan 12, 2012 4:19 PM by Konrad Machlowski  
Konrad Machlowski Newbie 23 posts since
Feb 2, 2010
Currently Being Moderated

Dec 2, 2011 4:15 PM

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....

Alexander Doroshko JetBrains 722 posts since
Jun 9, 2009
Currently Being Moderated
Dec 2, 2011 6:49 PM in response to: Konrad Machlowski
Re: MXML editor ciolors & fonts

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.

Alexander Doroshko JetBrains 722 posts since
Jun 9, 2009
Currently Being Moderated
Dec 2, 2011 7:39 PM in response to: Konrad Machlowski
Re: MXML editor ciolors & fonts

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

Alexander Doroshko JetBrains 722 posts since
Jun 9, 2009
Currently Being Moderated
Dec 2, 2011 7:51 PM in response to: Konrad Machlowski
Re: MXML editor ciolors & fonts

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

Alexander Doroshko JetBrains 722 posts since
Jun 9, 2009
Currently Being Moderated
Jan 12, 2012 3:43 PM in response to: Alexander Doroshko
Re: MXML editor ciolors & fonts

More Like This

  • Retrieving data ...