Giter Site home page Giter Site logo

hibernate-ide-codestyles's Introduction

hibernate-ide-codestyles

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

Copy the hibernate_orm.xml style file in your IDEA configuration.

The path on OSX is:

  • ~/Library/Preferences/IdeaIC14/codestyles/

On Linux it is:

  • ~/.IntelliJIdea14/config/codestyles

On Windows:

  • .IntelliJIdea14\config\codestyles

Importing code styles can also be done through the UI.

To do so:

  • go to IntelliJ IDEA -> Preferences on a Mac or File -> Settings on Windows
  • then to Editor -> Code Style -> Java and click Manage
  • in the Code Style Schemas dialog, press Import and add the provided XML file
  • after that, select the imported schema from the Schema dropdown

Importing in Eclipse

In Eclipse, you import the three provided files from within the UI. Open menu Window -> Preferences; then open section Java -> Code Style. You'll see three sub sections:

  • Clean Up
  • Code Templates
  • Formatter

Each of these has a separate Import button; import the provided xml files and then mark them as active in the current profile.

hibernate-ide-codestyles's People

Contributors

marko-bekhta avatar sanne avatar schernolyas avatar sebersole avatar yrodiere avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.