---
title: "editplus工具：js文件美化"
author: "wangshaofei"
date: "2013-11-14T00:07:41Z"
tags: []
categories: ["Web前端"]
slug: "editplus-js"
draft: false
lastmod: "2013-11-14T00:07:41Z"
id: 1974522
url: "https://wsfei.iteye.com/blog/1974522"
---

1  安装editplus

2  安装python

3  安装python的easy\_install包 参考 [http://www.pip-installer.org/en/latest/installing.html](http://www.pip-installer.org/en/latest/installing.html)

4  安装jsbeautifier ： easy\_install jsbeautifier

5 测试 python jsbeautify file.js

6 集成到editplus ： 工具-&gt;设置-&gt;用户工具-&gt;添加工具-&gt;  填写菜单名称，命令：python 参数：填写你新建的python脚本 参数自己根据使用情况添加 保存 。

7 ok