langerhans / dogecoin-wallet-new

Dogecoin Wallet app for your Android device. Standalone Dogecoin node, no centralized backend required. Forked from the popular Bitcoin Wallet.
188 stars 105 forks source link

Apply eclipse code formatter #19

Closed Elbandi closed 9 years ago

Elbandi commented 10 years ago

The source code doesnt follow the code format described in eclipse-code-format.xml file. This patch is apply that rules.

langerhans commented 10 years ago

That is because I don't use Eclipse but IntelliJ IDEA instead. Thanks for the patch though. I don't see a benefit in merging it though with the IDE I use, or am I missing something?

Elbandi commented 10 years ago

It doesnt add new feature or function to app. It's just correct the code style, and this helps other forks, whom (include me) use the eclipse and code format, to easy merge your changes. The most difference is, the source code is using tabs as indent, while you use spaces.

langerhans commented 10 years ago

Okay, I'll look into applying the code formatter to IDEA, because I won't be changing my dev environment, because quite frankly, eclipse sucks imho ;D

Elbandi commented 10 years ago

You can use eclipse code formatter settings: http://blog.jetbrains.com/idea/2014/01/intellij-idea-13-importing-code-formatter-settings-from-eclipse/ or http://blog.jetbrains.com/idea/2012/12/android-code-styles-in-intellij-idea-12/