Closed seratch closed 7 years ago
I think it's an issue with the Scalariform settings that existed from before (and maybe were not applied?), but I'm not a fan of alignParameters (i.e. lining up = signs and types), it looks unusual to me (probably because false is the default). I think this is mostly a matter of preference, although I would argue that the default probably looks more typical / expected to most people.
scalariform sometimes changes its default rules. I guess the many diff were basically brought by the changes on default ones. Anyway, I'll try to optimize the existing rules.
Thanks!
Updated. Eventually, I decided to stop using all the existing overwritten rules and believe applying scalariform's default rules is the best also for this project. Basically, I use scalariform's default on my OSS projects and it always works fine.
Additionally, I've improved the readability to refine too long lines. As discussed above, I didn't change the argument parts that have lots of swagger-related annotations.
I'll work on further changes that depend on this pull request.
@bloodysnowx Rebased. Still any concerns on this?
This pull request contains the following changes.
project/Scalariform.scala
I believe the changes improve the readability of code.