Java code style for use with code formatter tool in Java IDE like Eclipse or IntelliJ.
Find code formatter file in :
See details in Contribution guide.
Useful classes for handling code formatting settings :
org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants
: Constants used to set up the options of the code formatter.- Example :
FORMATTER_BLANK_LINES_AFTER_IMPORTS
>"org.eclipse.jdt.core.formatter.blank_lines_after_imports"
- Example :
- For creating Map of settings :
org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#getEclipseDefaultSettings()
org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#getJavaConventionsSettings()