Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"no-inline-html": false,
"line-length": false
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.1]

- Upgrade dependencies

## [1.0.0]

- Initial release
28 changes: 22 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# Prettier Java Plugin

A VSCode extension to format Java files with Prettier using prettier-plugin-java.
<h1 align="center">
<br />
<img
src="https://raw.githubusercontent.com/RudraPatel2003/prettier-plugin-java-vscode/refs/heads/main/icon.png"
alt="Prettier Java Plugin Logo"
/>
<br />
Prettier Java Plugin
<br />
</h1>

<h2 align="center">
Format Java files with Prettier using prettier-plugin-java. No configuration
necessary.
</h2>

## Features

Expand All @@ -13,17 +25,21 @@ To set this formatter as the default formatter for Java files, add the following

```json
"[java]": {
"editor.defaultFormatter": "RudraPatel.prettier-plugin-java-vscode"
}
"editor.defaultFormatter": "RudraPatel.prettier-plugin-java-vscode"
}
```

This extension contributes the following settings:

- `prettier-plugin-java-vscode.enabled`: Enable/disable the plugin.
- `prettier-plugin-java-vscode.prettierConfigPath`: Provide a absolution path to your prettier configuration file.
- `prettier-plugin-java-vscode.prettierConfigPath`: Provide an absolution path to your prettier configuration file.

## Release Notes

### 1.0.1

- Upgrade dependencies

### 1.0.0

- Initial release
Loading
Loading