Community
    • Login

    DuckyScript 3.0 Style Configuration Request

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    3 Posts 3 Posters 2.8k 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.
    • Michelle FloresM Offline
      Michelle Flores
      last edited by

      Would it be possible to add DuckyScript 3.0 as a style configuration? That would be awesome!

      PeterJonesP Michael VincentM 2 Replies Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @Michelle Flores
        last edited by

        @Michelle-Flores ,

        Style Configurator only has the coloring settings for languages that show up in the built-in portion of the Language menu. To add a brand-new language there is not a programming task that the developer has ever shown an interest in (and, in fact, the languages that are built-in are from pre-built library of Language syntax-highlighters – if you can convince the Scintilla project to add the DuckyScript syntax highlighter, then it would likely eventually make its way into Notepad++ … but that’s not likely to give you DuckyScript highlighting any time soon).

        Fortunately, being aware that people would want to syntax-highlight languages that weren’t in the main list, the developer provided the User Defined Language (UDL) system, where you can define keywords and operator colorings for any language that you imagine. Admittedly, the generic UDL system is not quite as powerful as a custom syntax highlighter, but it is often good enough (especially when used in conjunction with the EnhanceAnyLexer plugin’s regex-based highlighting)

        1 Reply Last reply Reply Quote 1
        • Michael VincentM Offline
          Michael Vincent @Michelle Flores
          last edited by

          @Michelle-Flores said in DuckyScript 3.0 Style Configuration Request:

          Would it be possible to add DuckyScript 3.0 as a style configuration? That would be awesome!

          As @PeterJones says, you’ll need to use / define a User Defined Language (UDL). A quick Google turns up this:

          https://github.com/abhinavvv03/Rubber-Duckey/blob/master/Downloads.rdoc

          I cannot confirm the veracity of the UDL download mentioned on that site - my IT blocks it. Proceed with caution.

          Cheers.

          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