gshakhn/sonar-intellij-plugin

Code formatting

Closed this issue · 2 comments

Hi Guys,

I observed that the code formatting has different white space indentation as mine. I'm using the default settings what IntelliJ has, but the original existing code is following IMHO the IntellIJ Community (2 spaces) way of formatting.

Would be great that all of us to have the same configuration, thus the diff would be much more easier.

As a personal preference I like the default built in style as IntelliJ has (And I would vote for it 👍 ) ) . But I'm open to use other settings as well.

Would be quite good in case the code formatting style for IntelliJ would be downloadable from the site.

What do you think?

Kind regards
Alpar

I was actually using Sonar's recommended style. We can switch to IntelliJ's default style if that's a strong preference.

Personally, I don't care which one is used as long as it's consistent. :)

+1 for consistency! ;) Let's take IDEA's default code formatting