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
- Host: GitHub
- URL: https://github.com/ghusta/java-code-style
- Owner: ghusta
- Created: 2018-06-11T10:27:34.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-18T10:11:07.000Z (almost 7 years ago)
- Last Synced: 2025-01-06T22:35:59.777Z (5 months ago)
- Topics: code-style, codestyle, java
- Language: Java
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
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()`