Community
    • Login

    XML file / Language set to None (Normal Text) / XML Tools option Set XML type automatically

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 945 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.
    • Bruno GuillemetteB
      Bruno Guillemette
      last edited by Bruno Guillemette

      This has been bugging me for a while and I just found the solution as I was typing a question about it in the Help wanted section… Hopefully, this might help someone else.

      When working with big XML files, I set the Language to None (Normal Text) to speed things up. But as soon as I was typing anything, even just [ENTER], the XML highlight was back, slowing down Notepad++ quite a bit.

      I finally realized that the culprit was the Set XML type automatically option of the XML Tools plugin. This option is selected by default I think, so I didn’t really noticed it before this.

      With this option being unchecked, my XML file now stays on “None” and no highlight is coming back.

      Michael VincentM 1 Reply Last reply Reply Quote 4
      • Michael VincentM
        Michael Vincent @Bruno Guillemette
        last edited by

        @Bruno-Guillemette said in XML file / Language set to None (Normal Text) / XML Tools option Set XML type automatically:

        When working with big XML files, I set the Language to None (Normal Text) to speed things up. But as soon as I was typing anything, even just [ENTER], the XML highlight was back, slowing down Notepad++ quite a bit.
        I finally realized that the culprit was the Set XML type automatically option of the XML Tools plugin. This option is selected by default I think, so I didn’t really noticed it before this.

        Good tip on the set XML to Normal Text for large file if you don’t need highlighting / function list but do need performance and I do have XML Tools installed, but not that option checked - so I wouldn’t have noticed it, but experimenting with it, I do see your behavior.

        I’m going to leave XML Tools Set XML type automatically unchecked so Notepad++ can autodetect and I can “reset” to Normal Text without worrying about it switching auto-magically for me.

        Cheers.

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