{"library":"prettier-plugin-java","type":"library","category":null,"description":"Prettier Plugin for Java is a code formatter that integrates with Prettier to format Java source code. Version 2.8.1 (active development) is released frequently with bug fixes and improvements. It supports Java 8 through 21+, including records, sealed classes, pattern matching, and text blocks. Differentiators: uses Prettier's infrastructure for consistent formatting across languages, respects existing Prettier config, and offers Java-specific options like arrowParens and experimentalOperatorPosition. Requires Prettier v3+ as a peer dependency. Maintained by the JHipster team.","language":"javascript","status":"active","version":"2.8.1","tags":["javascript"],"install":[{"cmd":"npm install prettier-plugin-java","imports":["Add plugin to .prettierrc: { \"plugins\": [\"prettier-plugin-java\"] } or use --plugin=prettier-plugin-java","No explicit import needed; just install and configure in .prettierrc","import { Plugin } from 'prettier'; // types for plugin options"]},{"cmd":"yarn add prettier-plugin-java","imports":[]},{"cmd":"pnpm add prettier-plugin-java","imports":[]}],"homepage":"https://jhipster.org/prettier-plugin-java","github":"https://github.com/jhipster/prettier-java","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/prettier-plugin-java","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/prettier-plugin-java/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}