分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 前端开发

notepad++插件实现json、xml格式化

发布时间:2023-09-06 01:53责任编辑:郭大石关键词:jsjsonxml

  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 folder2. open a document containing a JSON string3. 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 subfolder3. 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.dll4. 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.dllAfter 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、运行截图

notepad++插件实现json、xml格式化

原文地址:https://www.cnblogs.com/xiaochina/p/9013215.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved