This repository contains the IDE settings for Eclipse and Intellij IDEA.
Import these in your IDE if you plan to make changes to the Hibernate source code, so that you can follow consistent formatting and style conventions with every other contributor.
Importing in IDEA
hibernate_orm.xml style file in your IDEA configuration.
The path on OSX is:
On Linux it is:
Importing code styles can also be done through the UI.
To do so:
- go to
Preferenceson a Mac or
- then to
- in the
Code Style Schemasdialog, press
Importand add the provided XML file
- after that, select the imported schema from the
Importing in Eclipse
In Eclipse, you import the three provided files from within the UI.
Preferences; then open section
You'll see three sub sections:
- Clean Up
- Code Templates
Each of these has a separate
Import button; import the provided xml files
and then mark them as active in the current profile.