128 lines
11 KiB
Plaintext
128 lines
11 KiB
Plaintext
[38;5;12mA curated list of code formatters. Inspired by awesome-machine-learning.[39m
|
||
[38;5;12mOther awesome lists can be found in the [39m[38;5;14m[1mawesome-awesomeness[0m[38;5;12m (https://github.com/bayandin/awesome-awesomeness) list.[39m
|
||
|
||
[38;5;12mIf you want to contribute to this list (please do), send me a pull request or contact me [39m[38;5;14m[1m@rishirdua[0m[38;5;12m (https://www.twitter.com/rishirdua)[39m
|
||
|
||
|
||
[38;2;255;187;0m[4mTable of Contents[0m
|
||
|
||
|
||
[38;5;12m- [39m[38;5;14m[1mGeneral Purpose[0m[38;5;12m (#general-purpose)[39m
|
||
[38;5;12m- [39m[38;5;14m[1mLanguage Specific[0m[38;5;12m (#language-specific)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mC/C++[0m[38;5;12m (#cc)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mCobol[0m[38;5;12m (#cobol)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mCSS[0m[38;5;12m (#css)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mFortran[0m[38;5;12m (#fortran)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mHaskell[0m[38;5;12m (#haskell)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mHTML[0m[38;5;12m (#html)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mJava[0m[38;5;12m (#java)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mJavaScript[0m[38;5;12m (#javascript)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mJSP[0m[38;5;12m (#jsp)[39m
|
||
[38;5;12m - [39m[38;5;14m[1m.NET[0m[38;5;12m (#net)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mPerl[0m[38;5;12m (#perl)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mPHP[0m[38;5;12m (#php)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mPL/SQL[0m[38;5;12m (#plsql)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mPython[0m[38;5;12m (#python)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mRuby[0m[38;5;12m (#ruby)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mShell[0m[38;5;12m (#shell)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mVBS[0m[38;5;12m (#vbs)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mXML[0m[38;5;12m (#xml)[39m
|
||
|
||
|
||
|
||
[38;2;255;187;0m[4mGeneral Purpose[0m
|
||
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mArtistic Styler[0m[38;5;12m (http://astyle.sourceforge.net/) - Source code indenter, formatter, and beautifier for the C, C++, C# and Java programming languages.[39m
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mAtom-Beautify[0m[38;5;12m (https://atom.io/packages/atom-beautify) - Beautify HTML, CSS, JavaScript, PHP, Python, Ruby, Java, C, C++, C#, Objective-C, CoffeeScript, TypeScript, Coldfusion, SQL, and more in Atom editor.[39m
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mPrettier[0m[38;5;12m (https://prettier.io/) - An opinionated code formatter for JavaScript, Flow, TypeScript, Vue, JSON, CSS, Less, SCSS, GraphQL, and Markdown[39m
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mUncrustify[0m[38;5;12m (http://uncrustify.sourceforge.net/) - Beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA.[39m
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mUnibeautify[0m[38;5;12m (https://unibeautify.com/) - Universal code beautifier with a GitHub app. Supports HTML, CSS, JavaScript, TypeScript, JSX, Vue, C++, Go, Objective-C, Java, Python, PHP, GraphQL, Markdown, and more.[39m
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mclang-format[0m[38;5;12m (http://clang.llvm.org/docs/ClangFormat.html) - Automatic formatting for C, C++, Java, JavaScript, ObjectiveC and Protobuf.[39m
|
||
|
||
[38;2;255;187;0m[4mLanguage Specific[0m
|
||
|
||
[38;2;255;187;0m[4mC/C++[0m
|
||
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mBCPP[0m[38;5;12m (http://invisible-island.net/bcpp/) - indents C/C++ source programs, replacing tabs with spaces or the reverse.[39m
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mGNU Indent[0m[38;5;12m (http://www.gnu.org/software/indent/) - Unix utility that reformats C and C++ code in a user-defined indent style and coding style. GNU style is used by default.[39m
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mGreatCode[0m[38;5;12m (http://sourceforge.net/projects/gcgreatcode/) - C/C++ source code beautifier that is now fully open source.[39m
|
||
|
||
[38;2;255;187;0m[4mCobol[0m
|
||
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mCobol Beautifier[0m[38;5;12m (http://www.siber.com/sct/tools/cbl-beau.html) - Parses your program just like a real Cobol compiler and then it generates Cobol code from the resulting Cobol Program Tree.[39m
|
||
|
||
[38;2;255;187;0m[4mCSS[0m
|
||
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mCSSTidy[0m[38;5;12m (http://csstidy.sourceforge.net/) - Opensource CSS parser and optimiser available as executeable file which can be controlled by command line and as PHP script.[39m
|
||
|
||
[38;2;255;187;0m[4mFortran[0m
|
||
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mFortran 90 PPR[0m[38;5;12m (ftp://ftp.ifremer.fr/ifremer/fortran90/) - Fortran 90 preprocessor and formatter written in Fortran 90.[39m
|
||
|
||
[38;2;255;187;0m[4mHaskell[0m
|
||
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mhindent[0m[38;5;12m (https://github.com/chrisdone/hindent) - Extensible Haskell pretty printer available both as a library and an executable.[39m
|
||
|
||
[38;2;255;187;0m[4mHTML[0m
|
||
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mHTB[0m[38;5;12m (http://www.digital-mines.com/htb/) - Command-line utility to reformat HTML/XML/XSLT source code with an array of user specified options.[39m
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mTidy[0m[38;5;12m (http://tidy.sourceforge.net/) - Free-standing C library[39m
|
||
|
||
[38;2;255;187;0m[4mJava[0m
|
||
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mGoogle Java Format[0m[38;5;12m (https://github.com/google/google-java-format) - google-java-format is a program that reformats Java source code to comply with Google Java Style.[39m
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mJALOPY[0m[38;5;12m (http://notzippy.github.io/JALOPY2-MAIN/) - Source code formatting tool for the Sun Java Programming Language.[39m
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mJindent[0m[38;5;12m (http://www.jindent.com/) - Commercial source code formatter for the programming languages Java, C and C++[39m
|
||
|
||
[38;2;255;187;0m[4mJavaScript[0m
|
||
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mbeautifier.io[0m[38;5;12m (https://beautifier.io/) - Online JavaScript Beautifier[39m
|
||
|
||
[38;2;255;187;0m[4mJSP[0m
|
||
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mJSPPP[0m[38;5;12m (http://jsppp.sourceforge.net/) - Indentor for JSP files in various styles.[39m
|
||
|
||
[38;2;255;187;0m[4m.NET[0m
|
||
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mNArrange[0m[38;5;12m (http://www.narrange.net/) - Code beautifier that automatically organizes code members and elements within .NET classes.[39m
|
||
|
||
[38;2;255;187;0m[4mPerl[0m
|
||
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mPerlTidy[0m[38;5;12m (http://perltidy.sourceforge.net/) - Perl script which indents and reformats Perl scripts.[39m
|
||
|
||
[38;2;255;187;0m[4mPHP[0m
|
||
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mPHP_Beautifier[0m[38;5;12m (http://pear.php.net/package/PHP_Beautifier) - Beautifier for PHP[39m
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mphpCB[0m[38;5;12m (http://www.waterproof.fr/products/phpCodeBeautifier/) - Tool available as a GUI, command line and an integrated tool of PHPEdit.[39m
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mphpStylist[0m[38;5;12m (http://sourceforge.net/projects/phpstylist/) - Formatter with customizable options.[39m
|
||
|
||
[38;2;255;187;0m[4mPL/SQL[0m
|
||
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mPl/Sql tidy[0m[38;5;12m (http://psti.equinoxbase.com/) - Program to tidy, beautify or format Pl/Sql code in a batch file or Dos prompt.[39m
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mPoor[0m[38;5;14m[1m [0m[38;5;14m[1mMan's[0m[38;5;14m[1m [0m[38;5;14m[1mT-SQL[0m[38;5;14m[1m [0m[38;5;14m[1mFormatter[0m[38;5;12m [39m[38;5;12m(http://architectshack.com/PoorMansTSqlFormatter.ashx)[39m[38;5;12m [39m[38;5;12m-[39m[38;5;12m [39m[38;5;12m.Net[39m[38;5;12m [39m[38;5;12m2.0[39m[38;5;12m [39m[38;5;12mlibrary[39m[38;5;12m [39m[38;5;12mwith[39m[38;5;12m [39m[38;5;12mdemo[39m[38;5;12m [39m[38;5;12mUI,[39m[38;5;12m [39m[38;5;12mcommand-line[39m[38;5;12m [39m[38;5;12mbulk[39m[38;5;12m [39m[38;5;12mformatter,[39m[38;5;12m [39m[38;5;12mSSMS/Visual[39m[38;5;12m [39m[38;5;12mStudio[39m[38;5;12m [39m[38;5;12madd-in,[39m[38;5;12m [39m[38;5;12mnotepad++[39m[38;5;12m [39m[38;5;12mplugin,[39m[38;5;12m [39m[38;5;12mwinmerge[39m[38;5;12m [39m[38;5;12mplugin,[39m[38;5;12m [39m[38;5;12mand[39m[38;5;12m [39m[38;5;12mweb[39m[38;5;12m [39m[38;5;12mservice[39m[38;5;12m [39m[38;5;12mfor[39m[38;5;12m [39m[38;5;12mreformatting[39m[38;5;12m [39m[38;5;12mand[39m[38;5;12m [39m
|
||
[38;5;12mcoloring[39m[38;5;12m [39m[38;5;12mT-SQL[39m[38;5;12m [39m[38;5;12mcode[39m[38;5;12m [39m[38;5;12mto[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12muser's[39m[38;5;12m [39m[38;5;12mpreferences.[39m
|
||
|
||
[38;2;255;187;0m[4mPython[0m
|
||
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mblack[0m[38;5;12m (https://github.com/ambv/black) - The uncompromising Python code formatter [39m
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mpindent[0m[38;5;12m (http://svn.python.org/projects/python/trunk/Tools/scripts/pindent.py) - Adds comments when blocks are closed, or can properly indent code if comments are put in.[39m
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1myapf[0m[38;5;12m (https://github.com/google/yapf) - A formatter for Python files.[39m
|
||
|
||
[38;2;255;187;0m[4mRuby[0m
|
||
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mRuby Script Beautifier[0m[38;5;12m (http://www.arachnoid.com/ruby/rubyBeautifier.html) - Beautifier written in Ruby.[39m
|
||
|
||
[38;2;255;187;0m[4mShell[0m
|
||
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mShellIndent[0m[38;5;12m (http://www.bolthole.com/AWK.html) - Indent formatting program for .sh scripts.[39m
|
||
|
||
[38;2;255;187;0m[4mVBS[0m
|
||
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mVBSBeautifier[0m[38;5;12m (http://www.daansystems.com/vbsbeaut/) - Beautifier for ASP and clientside VBScript files.[39m
|
||
|
||
[38;2;255;187;0m[4mXML[0m
|
||
|
||
[48;5;12m[38;5;11m⟡[49m[39m[38;5;12m [39m[38;5;14m[1mXML Indent[0m[38;5;12m (http://xmlindent.sourceforge.net/) - XML stream reformatter written in ANSI C.[39m
|
||
|
||
[38;5;12mcodeformatters Github: https://github.com/rishirdua/awesome-code-formatters[39m
|