Notepad3 icon indicating copy to clipboard operation
Notepad3 copied to clipboard

[Feature request] plugin syntax definitions for highlighting

Open teknowledgist opened this issue 1 year ago • 1 comments

Notepad3 is great, but I have to work with some configuration/code files written in an esoteric format that no editor recognizes. It would be fantastic if I could create a "syntax rules" document to import into Notepad3 that would then allow for customized syntax highlighting like the existing built-in languages. Other, less-lightweight, not-integrated editors offer this, but having this feature in Notepad3 would really elevate its usefulness.

Since the currently recognized languages have to be defined somewhere in the code, reading similar code for on-demand, custom languages should be relatively straightforward. Of course the syntax of the definition code would probably need some documentation to be useful, but enterprising users might be able to figure it out from examples for common languages.

Although a lot more work, being able to parse/use the existing sizeable library of custom syntax rules for another product (npp) would open up an entire world of possibilities.

Thanks!

teknowledgist avatar Jul 09 '24 13:07 teknowledgist