Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

format java source code natively based on CodeFormatterProfile

Is there an emacs tool to format java code according to a Java Code Formatter Profile (xml) spec, such as the one below? https://github.com/google/styleguide/blob/gh-pages/eclipse-java-google-style....
erjoalgo's user avatar
  • 873
5 votes
2 answers
1k views

Make emacs format Java more consistently

When I open Java files originally created and edited in Emacs, the indentation shows up correctly, as in the image below: However, when I open the same file in Sublime Text, or any other editor ...
Adam R's user avatar
  • 53
1 vote
1 answer
1k views

How to have emacs format/indent javadoc comments correctly?

Very new to emacs. (I only started day before yesterday.) I'm writing some Java and was wondering if there's an option or something I can set up so it will indent Javadoc comments correctly. What I ...
Reagankm's user avatar
  • 140