Community
    • Login

    Managing the User Languages tool

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 35 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.
    • S
      sagradamoly-stack
      last edited by sagradamoly-stack

      I’m having difficulty managing the User Defined Language tool. After working on “Styling” for a while I get a long list of failed attempts. It would be nice if I could simply save a new version over the previous version, but the tool doesn’t permit saving over the existing file. So I have to create a new version, and the list grows longer until it’s difficult to manage. Is there an easy way to do this? Like being able to tag & delete all the unwanted old versions at one time?

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @sagradamoly-stack
        last edited by

        @sagradamoly-stack said in Managing the User Languages tolol:

        It would be nice if I could simply save a new version over the previous version, but the tool doesn’t permit saving over the existing file.

        That’s a misunderstanding. Notepad++ immediately updates its internal copy of a UDL as soon as you make the changes (even without closing the dialog). Then, when you exit Notepad++, it saves all its updated config files, including your updated UDL.

        You do not need to save as a new UDL and then later rename to make changes. It just automatically updates the UDL under the existing name when you make changes. (See user manual: UDL Naming and Saving at
        https://npp-user-manual.org/docs/user-defined-language-system/#naming-and-saving)

        S 1 Reply Last reply Reply Quote 1
        • S
          sagradamoly-stack @PeterJones
          last edited by

          @PeterJones Thanks for the reply. I’ve got an inkling of understanding how this works, but made a lot of mistakes getting to this point. I now have a quite good set of style definitions, but nothing works any more, likely because I’ve saved the results repeatedly under different names because of misreading the instructions. Is there any way to delete all the interim variations without losing all the work getting to a useful final result?

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