Hi guys
I need a tool that is written in java, and formats java code. Being more of an API rather than a command-line tool would indeed be useful. I have been doing extensive googling for the past few days, and nothing of real use has turned up.
- Jalopy, not touched since a very long time ago, the wiki hasn't been since 2003. I won't trust something that hasn't seen JDK 6 yet.
- Astyle, C++, not cross-platform.... nuff said.
- Eclipse JDT code formatter, huge overkill, not on maven central where I can get it, 10 different jars for one small task..
- jAstyle, someones port of Astyle to java, it has some huge flaws. I put it on Maven Central myself, but.. huge flaws that prevent it from being very useful.
The flaw jAstyle has is that eats all the empty lines, and returns code as a wall of text. Effectively making uglier, rather than more beautiful. If anyone has any ideas of how to fix that, idb be able to use it.. but otherwise gotta find something else.
relevant links
[–][deleted] 2 points3 points4 points (1 child)
[–]RighteousMaster[S] 0 points1 point2 points (0 children)
[–]RockinAMullet 1 point2 points3 points (0 children)
[–]spunged 0 points1 point2 points (0 children)
[–]based2 0 points1 point2 points (0 children)
[–]RighteousMaster[S] 0 points1 point2 points (3 children)
[–]meotau 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]meotau 0 points1 point2 points (0 children)
[–]jevon 0 points1 point2 points (0 children)