How do you do TODO in an XML file?

Answered

So if I define a <!-- TODO pattern in TODO

but in my XML file when I write

<!-- TODO

it isn't recognised as a TODO entry.

Later,

Turns out I had my TODO in a CDATA section so it's actually more sophisticated that I thought.

Edited by: Robert Nicholson on Jul 3, 2008 7:26 PM

0
3 comments
Avatar
Permanently deleted user

Hello Robert,

So if I define a <!-- TODO pattern in TODO

but in my XML file when I write

<!-- TODO

it isn't recognised as a TODO entry.


You don't need to define such a pattern. TODO elements will be recognized
in XML files using the standard configuration, provided that the .xml extension
is mapped to the XML file type.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

How is the .xml extension mapped to the XML file type?

0

File | Settings | Editor | File Types:

0

Please sign in to leave a comment.