Community
    • Login

    overwrite the stylers.xml file

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 2 Posters 856 Views 2 Watching
    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.
    • DomOBUD Offline
      DomOBU
      last edited by

      Hello,

      I’m currently using the portable version 8.5.7 of NPP.

      I have updated some settings. The only file that has changed since installing version 8.5.7 is the stylers.xml file.

      If I install the latest version of NPP, can I simply overwrite the stylers.xml file of the new version without disturbing the running of NPP?

      Thank you for your reply.

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @DomOBU
        last edited by

        @DomOBU ,

        If you haven’t customized anything in your Style Configurator (colors, fonts, user-defined extensions, or user-defined keywords), then it is 100% safe to close Notepad++, overwrite stylers.xml, and re-run Notepad++.

        If you have customized any of those, then a true overwrite would lose those customizations (which is why Notepad++ installer doesn’t overwrite it for you). My recommendation is to use the sequence defined in User Manual: Editing Config Files and use the ComparePlus plugin to compare the existing stylers.xml with the newest one, and bring over any new or updated languages from the new copy, without overwriting any of your customized attributes or data values.

        DomOBUD 1 Reply Last reply Reply Quote 1
        • DomOBUD Offline
          DomOBU @PeterJones
          last edited by

          @PeterJones
          Thanks for the answer.

          I used the NPP user interface to mainly set colors and fonts for 3 languages.
          I don’t see how I can manually edit the xml to find my current settings.
          That’s the drawback of the portable version.

          PeterJonesP 1 Reply Last reply Reply Quote 0
          • PeterJonesP Offline
            PeterJones @DomOBU
            last edited by

            @DomOBU said in overwrite the stylers.xml file:

            I don’t see how I can manually edit the xml to find my current settings.
            That’s the drawback of the portable version

            If your portable notepad.exe is in c:\portable\npp\, then stylers.xml is at c:\portable\npp\stylers.xml .

            The config files location is documented in the online user manual at npp-user-manual.org . And that same user-manual page has the description of best-practices for editing Notepad++'s config files from within Notepad++.

            1 Reply Last reply Reply Quote 1

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors