可以重新格式化代码

可以重新格式化代码

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

问题描述

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

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.


  • (commercial)

  • SD Formatter (commercial)


  • (多平台,命令行,免费)

  • ()

  • (商业)

  • GNU Indent
  • Astyle (multiplatform, command-line, free)
  • Uncrustify (sample configuration file)
  • SD Formatter (commercial)


  • ()

  • (commercial)

  • Astyle
  • Uncrustify (sample configuration file)
  • SD Formatter (commercial)


  • (商业)

  • ()

  • (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)

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

  • gofmt (included in official Go distribution)


  • Tidy





  • ()

  • (commercial)

  • IntelliJ
  • Jindent
  • Astyle
  • Jalopy
  • Uncrustify (sample configuration file)
  • SD Formatter (commercial)

  • (商业)

  • SD Formatter (commercial)

  • (commercial)

  • SD Formatter (commercial)


  • (commercial)

  • NArrange
  • SD Formatter (commercial)

  • ()

  • Uncrustify (sample configuration file)

  • ()

  • Uncrustify (sample configuration file)


  • Perl::Tidy

  • (commercial)

  • SD Formatter (commercial)

  • (商业)

  • SD Formatter (commercial)

  • (commercial)

  • SD Formatter (commercial)

  • Pilot Vim 7使用插件。

  • (需要连接到数据库):CTRL-ALT-I to reformat


  • Pilot Vim 7 to use features from SQLUtilities plug-in.
  • Tora (need to be connected to a database) : CTRL-ALT-I to reformat
  • Toad

  • (commercial)

  • SD Formatter (commercial)

  • (商业)

  • SD Formatter (commercial)

  • (商业版,处理VBScript,VB6,VB.net)

  • 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

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

08-30 08:44