https://github.com/doansamquoc/java-format-style
Java formatter
https://github.com/doansamquoc/java-format-style
chill java java-formatter java-style
Last synced: 13 days ago
JSON representation
Java formatter
- Host: GitHub
- URL: https://github.com/doansamquoc/java-format-style
- Owner: doansamquoc
- Created: 2026-05-16T03:38:13.000Z (27 days ago)
- Default Branch: main
- Last Pushed: 2026-05-16T05:49:39.000Z (27 days ago)
- Last Synced: 2026-05-16T06:41:06.667Z (27 days ago)
- Topics: chill, java, java-formatter, java-style
- Homepage:
- Size: 384 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Java Format Style
I spent a whole afternoon with Eclipse just editing the formatting of classes, functions and each line of code :D
## Format
- Maximum line width: `100`
- Indentation size: `4`
- Tab size: `4`
- Too lazy to update
## Usage
1. **For VS Code
**
- You should be installed this extension https://marketplace.visualstudio.com/items?itemName=redhat.java
- After that copy this and paste into your `settings.json`:
```json
"[java]": {
"editor.defaultFormatter": "redhat.java",
},
"java.format.settings.url": "https://raw.githubusercontent.com/doansamquoc/java-format-style/refs/heads/main/v1.xml"
```
2. **For IntelliJ**
- Download this https://github.com/doansamquoc/java-format-style/blob/main/v1.xml
- Go to `Settings` > `Editor` > `Code Style` > `Java` > `Import Schema` > `Eclipse XML Profile` and choose file.
## Preview
Some images to preview `Java Format Style` with my ugly code :D


