Glavin001/atom-beautify

Java support

m1ga opened this issue · 5 comments

m1ga commented

support for Java would be nice,too

Do you know of any good, open-source (and /or free), Java beautifiers? I see http://jindent.com/ however there is only a free demo.

How about using https://github.com/bengardner/uncrustify ?
@m1ga if you don't mind testing uncrustify and letting me know then I will be implementing it soon as I have confirmed it works for users.

m1ga commented

sure. I'll have a look at the weekend and give you feedback

m1ga commented

working fine! Very nice tool! I've tested two JAVA files and a C# file. With default settings (huge settings file!) and indent_class set to true so that the classes look right.

Excellent! Thanks for testing. I am almost done implementation now :). See #57. I may need some User feedback from you on how I should implement the customization.