# Switch to Intellij IDEA

**URL:** <https://discourse.hibernate.org/t/switch-to-intellij-idea/1001>\
**Category:** Miscellaneous\
**Created:** [July 2, 2018, 2:17am UTC](https://discourse.hibernate.org/t/switch-to-intellij-idea/1001 "2018-07-02T02:17:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![aepedraza](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/aepedraza/32/663_2.png) [@aepedraza](https://discourse.hibernate.org/u/aepedraza)\
**Post date:** [July 2, 2018, 2:17am UTC](https://discourse.hibernate.org/t/switch-to-intellij-idea/1001/1 "2018-07-02T02:17:40Z")

</div>

Hi everyone: I’ve been using Eclipse for a long time. Now I see a growing popularity in Intellij IDEA and some colleagues are talking very well about this IDE.  
As this is a free contribution I believe it’s a great opportunity to learn about this IDE(A). I’ve found that the documentation is outdated and/or with some errors. In this [wiki post](https://developer.jboss.org/wiki/ContributingToHibernateUsingIntelliJ) about environment configuration in Intellij, I wasn’t able to do almost anything because the paths and options are not correct.  
What I couldn’t do is importing the project’s check style and debugging. I was able to do the source header section but I don’t know if it’s correct.  
I believe this outdating is due to the IDE growing, but the wikis should be updated accordingly. Any clarification and/or guide is welcomed.  
Best regards.

---

<div class="post-metadata">

**Author:** ![vlad](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/vlad/32/658_2.png) [@vlad](https://discourse.hibernate.org/u/vlad)\
**Post date:** [July 2, 2018, 5:10am UTC](https://discourse.hibernate.org/t/switch-to-intellij-idea/1001/2 "2018-07-02T05:10:51Z")

</div>

First of all, You didn’t tell us what you want to do.

That link is for contributing to the Hibernate ORM project. If you want to contribute, just follow [this article](http://in.relation.to/2018/06/04/best-way-write-hibernate-orm-issue-test-case/) which shows you how to write a test case, and it applies to any IDE.

If you just want to use Hibernate in your project, IDEA has all sorts of features related to it, but it’s not mandatory to use those.

---

<div class="post-metadata">

**Author:** ![aepedraza](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/aepedraza/32/663_2.png) [@aepedraza](https://discourse.hibernate.org/u/aepedraza)\
**Post date:** [July 2, 2018, 3:54pm UTC](https://discourse.hibernate.org/t/switch-to-intellij-idea/1001/3 "2018-07-02T15:54:58Z")

</div>

Sorry, I though it was clear. My intention is to keep contributing to the project (`hibernate-orm` at first, but I think I will be moving to other projects as I learn about them) but now with Intellij instead of Eclipse.  
I want to set up the environment as correctly as posible, and I failed to install the checkout style configuration (which is in `hibernate-orm/shared/config/checkstyle/`) and the source header in Intellij. Following the wiki post is not so useful as the config locations seems to have changed since the last post update.  
Does I make myself clear?

---

<div class="post-metadata">

**Author:** ![vlad](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/vlad/32/658_2.png) [@vlad](https://discourse.hibernate.org/u/vlad)\
**Post date:** [July 2, 2018, 4:17pm UTC](https://discourse.hibernate.org/t/switch-to-intellij-idea/1001/4 "2018-07-02T16:17:04Z")

</div>

I use the code style provided by the [hibernate-ide-codestyles](https://github.com/hibernate/hibernate-ide-codestyles) GitHub project.

I added it via the **Importing code styles can also be done through the UI.** option and it works just fine.

---

<div class="post-metadata">

**Author:** ![aepedraza](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/aepedraza/32/663_2.png) [@aepedraza](https://discourse.hibernate.org/u/aepedraza)\
**Post date:** [July 2, 2018, 9:10pm UTC](https://discourse.hibernate.org/t/switch-to-intellij-idea/1001/5 "2018-07-02T21:10:45Z")

</div>

Yes, the codestyle were imported successfully, but not the checkstyle configuration, neither the source header nor the debugging configuration.

---

<div class="post-metadata">

**Author:** ![vlad](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/vlad/32/658_2.png) [@vlad](https://discourse.hibernate.org/u/vlad)\
**Post date:** [July 3, 2018, 6:07am UTC](https://discourse.hibernate.org/t/switch-to-intellij-idea/1001/6 "2018-07-03T06:07:32Z")

</div>

I don’t use any debugging configuration, and never used the source header either. You can just get it from any existing class. If you don’t add it, the `gradlew check` task will fail anyway.
