Javascript的最佳源代码格式化程序? [英] Best source code formatter for Javascript?

查看:152
本文介绍了Javascript的最佳源代码格式化程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在挖掘Stack Overflow以及一些Google搜索,我找不到令人满意的Javascript代码格式化程序。

I've been digging through Stack Overflow as well as a number of Google searches, and I cannot find a satisfactory code formatter for Javascript.

我找到了几个相关的工具,如语法高亮显示器和漂亮的打印机,但我正在寻找一个工具,我可以理想地在Eclipse中创建一个包装器,只需从菜单栏运行。因此,如果有任何基于Java的可用,这是一个很大的优点。免费和/或开源也是首选。

I have found several related tools, such as syntax highlighters and pretty-printers, but I am looking for a tool that I can ideally create a wrapper for in Eclipse and simply run from the menu bar. Hence, if any Java-based ones are available, that is a big plus. Free and/or open-source is preferred as well.

我正在寻找我的开发小组可用来维护一致代码风格的东西。

I am looking for something that my development group can use to maintain a consistent code style.

谢谢。

感谢您非常快速的回复!如果我有任何业力,我会向你们投票。但特别是kRON用于链接到格式自定义页面。

Thank you for the incredibly fast responses! I would upvote you both if I had any karma. But especially kRON for linking to the format customizations page.

相关问题在Stack Overflow上。

Related question on Stack Overflow.

推荐答案

一口气: Aptana Studio !是的,它是基于Java和免费的(Eclipse,作为独立或插件)。

In one breath: Aptana Studio! Yes, it's Java based and free (Eclipse, as standalone or plugin).

你也可以自定义格式

这篇关于Javascript的最佳源代码格式化程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆