你知道什么应用程序,可以重新格式化代码? [英] What applications do you know of, that can reformat code?

查看:291
本文介绍了你知道什么应用程序,可以重新格式化代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找代码格式化和美化软件的列表;我只找到了几个所有都是语言特定的主题。

I am looking for a list of code formatting and prettifying software; I have only found a few topics that all are language specific.

这不是语法高亮!

如果可能,我更喜欢轻量级,命令行,多平台,可移植的工具。

然而,如果没有有趣的替代品,我也想知道什么是可用的满足这些条件。

If possible, I prefer lightweight, command-line, multiplatform, portable tools.
Nevertheless, if there is no interesting alternative, I also like to know what is available which does not meet those conditions.

免费提供的软件,特别是开源软件也是首选。

Freely available software, and more particularly open-source software are also preferred.

  • SD Formatter (commercial)
  • GNU Indent
  • Astyle (multiplatform, command-line, free)
  • Uncrustify (sample configuration file)
  • SD Formatter (commercial)
  • Astyle
  • Uncrustify (sample configuration file)
  • SD Formatter (commercial)
  • Astyle
  • Jindent (commercial)
  • Uncrustify (sample configuration file)
  • SD Formatter (commercial)
  • SD Formatter (commercial)
  • Uncrustify (sample configuration file)
  • Jedi Code Format
  • Delforexp
  • GExperts contains a code formatter
  • SD Formatter (commercial)
  • SD Formatter (commercial)

  • gofmt (包含在官方Go发行版中)

  • gofmt (included in official Go distribution)
  • Tidy
  • IntelliJ
  • Jindent
  • Astyle
  • Jalopy
  • Uncrustify (sample configuration file)
  • SD Formatter (commercial)
  • SD Formatter (commercial)
  • SD Formatter (commercial)
  • NArrange
  • SD Formatter (commercial)
  • Uncrustify (sample configuration file)
  • Uncrustify (sample configuration file)
  • Perl::Tidy
  • SD Formatter (commercial)
  • SD Formatter (commercial)
  • SD Formatter (commercial)
  • Pilot Vim 7 to use features from SQLUtilities plug-in.
  • Tora (need to be connected to a database) : CTRL-ALT-I to reformat
  • Toad
  • SD Formatter (commercial)
  • SD Formatter (commercial)
  • SD Formatter (commercial, handles VBScript, VB6, VB.net)
  • Uncrustify (sample configuration file)

感谢您的想法。

推荐答案

一个非常古老但实用的功能是缩进,在Unix上,对于C

A very old but functional one is indent, on Unix, for C

这篇关于你知道什么应用程序,可以重新格式化代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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