-
Notifications
You must be signed in to change notification settings - Fork 111
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
Use styleguide formatting for cljr-add-missing-libspec #459
Labels
Comments
Sure, a PR that fixes this would be welcome. This would require work in our sister repo, refactor-nrepl, as it's the middleware that takes care of making the ns tidy (with the clean-ns operation). Most likely the edit is needed in our homemade pretty-printing code Not a bad first issue to take on, if you want to get familiar with the code base. |
Thanks for the info, I'll see if I can take a look. |
expez
added a commit
to clojure-emacs/refactor-nrepl
that referenced
this issue
Jun 24, 2021
This makes the pretty-printed namespace form more in line with the clojure style guide. Specifically we go from: ``` (ns foo.bar (:require [this.library :as lib])) ``` To: ``` (ns foo.bar (:require [this.library :as lib])) ``` This commit closes clojure-emacs/clj-refactor.el#459
expez
added a commit
to clojure-emacs/refactor-nrepl
that referenced
this issue
Jun 24, 2021
This makes the pretty-printed namespace form more in line with the clojure style guide. Specifically we go from: ``` (ns foo.bar (:require [this.library :as lib])) ``` To: ``` (ns foo.bar (:require [this.library :as lib])) ``` This commit closes clojure-emacs/clj-refactor.el#459
expez
added a commit
to clojure-emacs/refactor-nrepl
that referenced
this issue
Jun 24, 2021
This makes the pretty-printed namespace form more in line with the clojure style guide. Specifically we go from: ``` (ns foo.bar (:require [this.library :as lib])) ``` To: ``` (ns foo.bar (:require [this.library :as lib])) ``` This commit closes clojure-emacs/clj-refactor.el#459
expez
added a commit
to clojure-emacs/refactor-nrepl
that referenced
this issue
Jun 24, 2021
This makes the pretty-printed namespace form more in line with the clojure style guide. Specifically we go from: ``` (ns foo.bar (:require [this.library :as lib])) ``` To: ``` (ns foo.bar (:require [this.library :as lib])) ``` This commit closes clojure-emacs/clj-refactor.el#459
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently when using
cljr-add-missing-libspec
, the namespaces are inline with the:require
keyword.It is formatted as the
good
example of the community styleguide instead of thebetter
example.Wouldn't it make sense to have it format to the
better
example?Or is the documentation maybe outdated and should
better
/good
be swapped?The text was updated successfully, but these errors were encountered: