项目作者: ghusta

项目描述 :
Java code style for use with code formatter tool in Java IDE like Eclipse or IntelliJ
高级语言: Java
项目地址: git://github.com/ghusta/java-code-style.git
创建时间: 2018-06-11T10:27:34Z
项目社区:https://github.com/ghusta/java-code-style

开源协议:

下载


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()