ares icon indicating copy to clipboard operation
ares copied to clipboard

code formatting and optimze imports

Open Tigermouthbear opened this issue 9 months ago • 2 comments

I noticed that some files use tabs and some use spaces, also there is a lot of inconsistency in code formatting. I ran the automatic code formatting tool in IDEA for this PR. This could be hard to merge and is not very necessary, so I am opening a pull request.

Thoughts on this? or should we wait to enforce code styles after 3.0 is released

Tigermouthbear avatar Apr 30 '25 00:04 Tigermouthbear

Ah, I probably have non-standard IDEA code style configuration contributing to this. We could include a .idea/codeStyles/Project.xml file in git and run Reformat Code (CTRL+ALT+L) using the project code style before any changes to a file is committed. Do you have any preference for tabs vs spaces?

Makrennel avatar Apr 30 '25 15:04 Makrennel

I like that idea and I usually use 4 spaces.

Tigermouthbear avatar May 01 '25 15:05 Tigermouthbear