Community
    • Login

    recognize file with "UDL"

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 919 Views 1 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.
    • Ninon_1977N Offline
      Ninon_1977
      last edited by

      Dear reader,

      I have configured several UDL for different types of files.
      Unfortunatley, Notepad++ does not recognize most of the specific UDL automatically - so I have to select the specific UDL under “Language” manually.

      In the GUI of “Define your language” I can just choose an extension…

      4002953e-424e-4878-ade3-9d6f2588b78e-image.png

      The extension is then saved here “userDefineLang.xml”:

      615c4769-df46-4118-9098-27c7a3a5ad0c-image.png

      Is there a way to use Regex expression?
      For example I want that my UDL is applied for all files with a number as an extension?

      file.1
      file.433

      or with a keyword in the middle of the name (e.g. abc)?

      file_abc_something.txt
      file1_abc_something1.txt
      file2_abc_something2.txt

      Any hint is appreciated.
      Thank you - BR,
      Heike

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE Offline
        Ekopalypse @Ninon_1977
        last edited by

        @Ninon_1977

        No, but something what is described here could be done if you are willing to install and use PythonScript.

        Ninon_1977N 1 Reply Last reply Reply Quote 2
        • Ninon_1977N Offline
          Ninon_1977 @Ekopalypse
          last edited by

          @Ekopalypse Thank you very much - I will give it a try.
          BR,
          Heike

          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