notepad++插件實現json、xml格式化


  notepad++比較出色的免費的數據編輯、格式化工具。。。

現在json、xml文件很流行、格式化也是必須的,方便查看關鍵信息!

01、下載notepad++及相關插件

npp_7.5.5-x86:   

https://files.cnblogs.com/files/xiaochina/npp_7.5.5-x86.zip

npp-json:               

https://files.cnblogs.com/files/xiaochina/NPPJSONViewer1_19vFix.zip

npp-xml:                

https://files.cnblogs.com/files/xiaochina/XmlTools2.4.9.2Unicode.zip

注意:版本都是win-32位的

02、安裝插件

json安裝到notepad++的plugin目錄下

1. Paste the file "NPPJSONViewer.dll" to Notepad++ plugin folder
2. open a document containing a JSON string
3. Select JSON fragment and navigate to plugins/JSON Viewer/show JSON Viewer or press "Ctrl+Alt+Shift+J"
4. Viola!! if the JSON is valid, it will be shown in a Treeview

xml安裝dependencies/下dll安裝到notepad++根目錄,XMLTools.dll安裝到plugin目錄下

XMLTools 2.4.x installation
---------------------------

1. stop notepad++
2. replace XMLTools.dll in npp plugins subfolder
3. only if version 2.3.x or earlier is already installed, then remove
   following files from npp main folder:
    - iconv.dll
    - libxml2.dll
    - libxslt.dll
    - zlib.dll
4. copy new external dll either into npp main folder (same folder than
   "notepad++.exe") or in %appdata%\Notepad++ folder:
     - libcurl.dll
     - libiconv-2.dll
     - libwinpthread1-dll
     - libxml2-2.dll
     - libxslt-1.dll
     - zlib1.dll

After installation in npp main folder, you should have following structure:

  [NPP_ROOT_FOLDER]
   ¦   notepad++.exe
   |   libcurl.dll
   ¦   libiconv-2.dll
   ¦   libwinpthread-1.dll
   ¦   libxml2-2.dll
   ¦   libxslt-1.dll
   ¦   zlib1.dll
    +---[plugins] XMLTools.dll

03、運行截圖


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM