Skip to content

Java code style for use with code formatter tool in Java IDE like Eclipse or IntelliJ

Notifications You must be signed in to change notification settings

ghusta/java-code-style

Repository files navigation

Overview

Java code style for use with code formatter tool in Java IDE like Eclipse or IntelliJ.

Files

Find code formatter file in :

Other details

See details in Contribution guide.

Eclipse JDT Core Code Formatter internal details

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"
  • For creating Map of settings :
    • org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#getEclipseDefaultSettings()
    • org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#getJavaConventionsSettings()

About

Java code style for use with code formatter tool in Java IDE like Eclipse or IntelliJ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages