An open API service indexing awesome lists of open source software.

https://github.com/ghusta/java-code-style

Java code style for use with code formatter tool in Java IDE like Eclipse or IntelliJ
https://github.com/ghusta/java-code-style

code-style codestyle java

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# Overview

Java code style for use with code formatter tool in Java IDE like _Eclipse_ or _IntelliJ_.

## Files

Find code formatter file in :

* [Eclipse formatter file](codestyle/eclipse/eclipse_code_formatter.xml)

## Other details

See details in [Contribution guide](CONTRIBUTING.md).

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