-
-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formatting rules colliding with Intellij auto-formatting #249
Comments
How do you set the formatting rules to comply with our guidelines in general? I have only found the standard Intellij way via settings->editor->codestyle->clojure. I couldn't find the right settings to comply with our guidelines though. But it looks like you can set the indentation for different core functions under the tab "Form Parameters". |
Currently it is default cljfmt formatting and there is nothing specified though this is possible. I heard that Intellij is formatting differently especially the let-bindings and I wanted to know from Intellij-users if this can be adjusted to not having a lot of reformatting in the PRs. I don't know where this reformatting was that @kordano mentioned. Either the intellij-users set the formatting for the let-bindings in their IDE or we need to specifiy the formatting rule in cljfmt and reformat all again. It would be cumbersome for reviewers to have PRs doing the reformatting here and there, I guess. |
discussion on this in the clojure style guide that we follow so far |
Ah, ok, that's the formatting you mean... And yes, the forcing of alignment of let binding values can be turned off and on in settings as well in Intellij |
There is a problem with auto-formatting on Intellij on let-bindings. Is there a setting in Intellij to avoid that?
The text was updated successfully, but these errors were encountered: