How make NPP opens .json as JS, not JSON?



  • Good day everyone!
    How can I make NPP opens .json as JS, not JSON? Json syntax highlight almost nothing.
    I’ve added ‘.json’ as User extension for Javascript in Style Configurator but it does not help.



  • Hi totalamd,

    check out %programfiles(x86)%\Notepad++\langs.model.xml.

    You will find a Section Language name=“json”.

    Kind regards,

    Robert


Log in to reply