一款好用的JavaScript 代码格式化工具:JavaScript Code Improver

当我们需要分析这些文件的时候就需要格式化javascript代码的工具,使之方便阅读。

在这里我给大家介绍的就是 Javascript Code Improver 一个免费的工具。他很简单,只有格式化代码这一个功能,不过,足够用了。支持中英文界面切换。

下载:Javascript Code Improver

Javascript Code Improver

JavaScript Code Improver

Cannot read your own JavaScript code?
Cannot find that closing brace?
Lost all hope of making head or tail of the JavaScript code inherited from your colleague?
Or just curious of how JavaScript works?

Try JavaScript Code Improver!

With JavaScript Code Improver you are just one click away from making any JavaScript clear, easily comprehensible and ready for printing thus saving the time you spend on editing, debugging and modifying it. Forget about all problems resulting from those illegible JavaScripts!

Compare how the same piece of code looks before:

 

<script language="JavaScript">var i=0,s="",k=0;function foo(){for(j=0;j<10;j++){for(i=0;i<10;i++){s="string1";k=Math.floor(Math.random()*10);}for(i=20;i>9;i--){s="string2";k=i;}}}</script>

 

and after processing by JavaScript Code Improver:

<script language="JavaScript">
var i = 0, s = "", k = 0;
function foo()
{
    for(j = 0; j < 10; j++)
    {
        for(i = 0; i < 10; i++)
        {
            s = "string1";
            k = Math.floor( Math.random()*10 );
        }
        for(i = 20; i > 9; i--)
        {
            s = "string2";
            k = i;
        }
    }
}
</script>


You can see the difference, can’t you?

The program’s flexible settings let you structure the code in any way you like. So, even if your JavaScript code is pretty comprehensible, you can just give it more professional or just more pleasant feel.

阅读更多
个人分类: Javascript
想对作者说点什么? 我来说一句

JavaScript Code Improver中文版

2011年04月20日 24KB 下载

JavaScript Code Improver

2009年08月15日 21KB 下载

javascript-code-improver

2007年09月23日 70KB 下载

JS代码格式化工具

2011年10月14日 21KB 下载

没有更多推荐了,返回首页

不良信息举报

一款好用的JavaScript 代码格式化工具:JavaScript Code Improver

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭