Community
    • Login

    XML Pretty Print no longer working?

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 1.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Sean PearceS
      Sean Pearce
      last edited by

      I pretty much depend on a daily basis on bringing in files with XML and “Pretty Print” with the XML Tools… I usually bring in XML content files and hit “Ctrl+a” (select all) followed by “Ctrl+Alt+Shift+B” to pretty print…

      Since, I believe the latest update of NPP to 7.8.6, this feature no longer appears to work?
      I noticed there was an update available for the XML tools to 3.0.4.2 and just updated that too (significantly re-organised menus and options, but still same keypress for Pretty Print).
      Really sorry - I just tend to install the updates as soon as they’re ready - so not entirely sure of “previous” versions of each, but assume “the latest, whatever comes with NPP Updates” (This time though I specifically noticed the Plugin update and applied that separately).

      BUT: The XML just remains there in one, unreadable lump :(

      Closed / reloaded NPP and the files - still fails…

      [Ah moment]
      Renamed the FILES from .log to .xml…
      Now it works!
      So - I don’t think it works in the same context as before - usually selecting “Language XML” for files where it wasn’t obvious in filename, or fresh “cut & paste” into a new document (to syntax highlight)…
      My .log files WERE highlighted with XML (and I DID try selecting XML language before Pretty Print)…

      So there’s a NEW dependency on the FILENAME being .XML?

      EkopalypseE 1 Reply Last reply Reply Quote 2
      • EkopalypseE
        Ekopalypse @Sean Pearce
        last edited by

        @Sean-Pearce

        I currently have npp 7.8.5 and xml tools 3.0.3.3 and this seems still
        to work with .log and xml pretty print.
        Maybe you wanna check if this hasn’t been already reported at https://github.com/morbac/xmltools/issues and open an issue?

        1 Reply Last reply Reply Quote 3
        • Sean PearceS
          Sean Pearce
          last edited by Sean Pearce

          Hmm… Seems to work OK today - regardless of filename or “no file” saved yet… Thanks for the pointer to the “correct” place though :-)

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors