DuckyScript 3.0 Style Configuration Request
-
Would it be possible to add DuckyScript 3.0 as a style configuration? That would be awesome!
-
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)
-
@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.