Community
    • Login

    User defined language seems to support only one extension

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 13 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.
    • A Offline
      André Programmeren
      last edited by

      Hello,

      I have constructed support for a user defined language. It is for Clojure and it supports de clj extension. If I add another extension, it does not highlight syntax for that one. E.g. cljs.

      926aaf4a-5d87-4f6f-b67f-78da1b40f7bd-image.jpeg

      What can I possibly do wrong?

      André

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Online
        PeterJones @André Programmeren
        last edited by PeterJones

        @André-Programmeren ,

        It supports multiple extensions just fine. I use that every day (with md markdown meaning blah.md and blah.markdown both get markdown highlighting). And clj cljs would be the right syntax for doing multiple extensions.

        ad35c15d-390d-46ce-85b8-a31ffc874aae-image.jpeg

        The UDL extension recognition only applies when you first create or open a file – if you already had the blah.cljs file open as “Normal text” when you edited the UDL, you would have to close the file and reopen (Ctrl+W, Ctrl+Shift+T), at which point it should see that it has the right extension, and use the UDL syntax highlighting. If that’s not it, you’ll have to give a bit more info.

        1 Reply Last reply Reply Quote 0

        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