


I came up with a quick one that will get the highlighting differences you described. Update: You might be able to get a UDL (User Defined Language) to do what you want. With some effort, you might be able to define the regex necessary to parse JSON in a way you like. My collection of links to her effort is at.

Workaround #2: In the Community Forums, Claudia Frank had done some work on a PythonScript-based lexer which would allow user defined languages with regular expressions, rather than the simplistic UDL 2.1. Workaround #1: change the Style Configurator > JSON > Operator color to have something that stands out between the property and value - maybe with a bright yellow background or something - to make it easier for your eye to find the : separators, at least. (And the last time NPP upgraded it's Scintilla was from 3.34 to 3.56 - about 4 years ago - compared to the most-recent Scintilla 4.1.3) If the change is already there, or if Scintilla releases a new version with that fix for you, you would then have to ask Notepad++ developer to upgrade Scintilla to include that fix. To make a suggestion for that improvement in the lexer, you'd have to go see if the most recent Scintilla JSON Lexer has already incorporated that change, and if not, put in a request with the Scintilla project. Apparently, the designer of that lexer didn't decide to differentiate between property names and values, though it seems like a good idea. The Scintilla component used by Notepad++ is in charge of the lexers for syntax highlighting.
