XML intelligent commenting and XML autoformat

Discussion Forums discussion XML intelligent commenting and XML autoformat

This topic contains 0 voices and has 2 replies.

Viewing 3 posts - 1 through 3 (of 3 total)
Author Posts
Author Posts
June 6, 2010 at 8:59 pm #4911

Kugel
Member

Hello,

I would like to ask if there is a way to auto format (reindent) xml in PN2?

Another question is if there is any support for intelligent commenting? XML has only 1 commenting option <!-- --> and I would love to have xml commenting done as in Visual Studio. Selected text -> stream comment, selected whole row (more rows) -> block comment nothing selected -> line comment. All on the same short cut.

Is that possible?

June 7, 2010 at 8:54 am #17190

simon
Key Master

It’s not currently supported, but should be possible. It’s certainly possible with a script using PyPN. You could try this, or file a request here:

http://code.google.com/p/pnotepad/issues/entry

June 7, 2010 at 8:54 am #17191

simon
Key Master

As for auto-format I usually set up HTML Tidy to use as a tool to format XML.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.