

Click button Save to close the saving dialog.In the small dialog popping up enter AutoFormatJson as name for the script.That means, if the Plugins menu has another name in your Notepad++ UI language, you need to adapt the command accordingly. Please note: The menu entry’s path is case sensitive and has to be localized. In case you are using JsonTools plugin, line 2 of the script above has to be npp_menucommand Plugins/JsonTools/Pretty-print current JSON file. If your are using for example JSTool plugin to format your JSON files, line 2 of the script above has to be npp_menucommand Plugins/JSTool/JSFormat. Npp_menucommand Path/To your JSON formatting plugin's/menu entry

In the dialog popping up enter the following script:.After Notepad++ has been restarted navigate to (menu) Plugins -> NppExec -> Execute NppExec Script.Install NppExec and NppEventExec plugins using Plugins Admin.Solve your issue you need support by some kind of scripting plugin, for example NppExec plugin and its companion NppEventExec.
