xmltools icon indicating copy to clipboard operation
xmltools copied to clipboard

Pretty Print does not auto change language to XML

Open PopeJareth opened this issue 2 years ago • 2 comments

When I run pretty print it seems the language should be automatically changed to xml for good block coloration. Looking at other issues reported it looks like it used to happen.

PopeJareth avatar Jan 08 '24 19:01 PopeJareth

I have the same issue.

I have new "anonymous" file opened in notepad++ (without Language defined) and I copy/paste xml content to that file.

Then I run "XML Tools / Pretty print" command which prettyfy the content, but notepad++ still doesn't show it as XML file - e.g. small tags to fold/unfold xml element content are not displayed.

In "XML Tools" menu I have checked "Set XML type automatically".

When I change via notepad++ menu "Language / XML" it works well.

I expect that every "XML Tools" command fired on the content of the file should do the same automatically if I have checkst "XML Tools / Set XML type automatically", so the BUG is that it doesn't work at the momment.

Notepad++ version v8.6.8 (64 bit) XML Tools Plugin version 3.1.1.13 (unicode 64bit) XML engine MSXML

pistata112 avatar Jul 07 '24 06:07 pistata112