XML coloring inside Actionscript code.

Hi,

I work with Actionscript as UI dev. I've been using IntelliJ idea for a longer time already. Recently, in our company, we started to develop a framework which makes use of XML data to set up UI components on the stage.

My question is: can I force the editor to treat inline XML as XML code and not as 'Documentation markup'?
It looses it's clarity having XML block in just one color when actually it's complex data structure.

I'm attaching 2 screenshots to make more sense what I'm talking about.

Thanks in advance for any help.

Michal



Attachment(s):
Capture2.PNG
Capture.PNG
4 comments
Comment actions Permalink

Unfortunately this is not configurable.
If you have large inline XML blocks may be you'll find it more convenient to store XML in a separate files instead.

0
Comment actions Permalink

Ah,

Thanks for the reply anyway.

Unfortunately it's not an option for me as the rest of the team uses FlashDevelop and we stick to convention that XML block is inside skinning files. Also, I'd have trouble using external file as I can't just simply load or embed it in Scaleform in-game system.

Cheers,
M

0
Comment actions Permalink

Perhaps it's worth to ask.

Can I add support for it myself? Meaning write a plugin? Is this even worth investigating? Or just no-can-do, IntelliJ editor supports only one coloring schema in one file?

0
Comment actions Permalink

I'm afraid it is not possible for external contributor because some code that you'll need to modify is not open-source.

0

Please sign in to leave a comment.