Prettier Plugin for Apex
By Dang Mai
What It Does
Auto-format Apex code using Prettier. Consistent code style across your entire team without arguments about formatting.
Glen's Take
End the tabs-vs-spaces debate forever. Set up Prettier with this plugin, add a pre-commit hook, and never think about Apex formatting again. Consistent code across the whole team. Pairs perfectly with Apex PMD for a complete code quality pipeline.
Tags
Need help with your Salesforce tooling stack?
I'll help you pick and configure the right tools for your team.
View Consulting →Enjoyed this? Get more like it.
Glen's Musings — AI, investing, and building things. Occasional. Free.
More Library Tools
fflib Apex Common (Enterprise Patterns)
Apex enterprise design patterns — Unit of Work, Selector, Domain, and Service layers. The foundation for scalable Salesforce architecture.
Read moreOpen Sourcefflib Apex Mocks
Mocking framework for Apex unit tests. Mock selectors, services, and domain classes to write fast, isolated tests without hitting the database.
Read moreOpen SourceNebula Logger
Enterprise-grade logging framework for Salesforce. Custom logging levels, log entry tagging, automatic stack traces, and a beautiful log viewer UI.
Read more