Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use a different code style for a module in IntelliJ IDEA?

I have a project I'm editing in IntelliJ IDEA. In this project, I'm using a third-party open-source library. Because I want to edit the library and my code in concert, I've imported the library source (an Eclipse project) as a module in my project.

The library uses a different indentation style from my code: I'm using the default four spaces, and the library is using tabs. How can I configure IntelliJ IDEA to use different code style settings in this library's files?

like image 811
Dan Hulme Avatar asked Jul 16 '13 20:07

Dan Hulme


1 Answers

It's not possible right now, vote for this feature request.

Note that it's planned for IDEA 13 that will be released in Q4 2013.

like image 169
CrazyCoder Avatar answered Oct 04 '22 15:10

CrazyCoder