We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
clojure-sort-ns
clojure-sort-ns should handle the whole ns form, including :gen-class.
:gen-class
clojure-sort-ns chokes on forms like :gen-class.
Create a .clj file w/ the following ns form:
.clj
(ns foo (:gen-class :methods [[methodOne [] String] [methodTwo [] String]] :init init))
Run clojure-sort-ns and see that the form is mangled:
(ns foo (:gen-class :methods [[methodOne [] String] :init init [methodTwo [] String]]))
20190105.1043
26.1
Fedora 28
The text was updated successfully, but these errors were encountered:
I wonder if we would be able to persuade @yuhan0 to take a stab at this one. 😉
Sorry, something went wrong.
I tried running clojure-sort-ns on the above form and it produced
(ns foo (:gen-class :init init :methods [[methodOne [] String] [methodTwo [] String]]))
which after manual indentation becomes
Maybe this already got fixed in the meantime?
No branches or pull requests
Expected behavior
clojure-sort-ns
should handle the whole ns form, including:gen-class
.Actual behavior
clojure-sort-ns
chokes on forms like:gen-class
.Steps to reproduce the problem
Create a
.clj
file w/ the following ns form:Run
clojure-sort-ns
and see that the form is mangled:Environment & Version information
clojure-mode version information
20190105.1043
Emacs version
26.1
Operating system
Fedora 28
The text was updated successfully, but these errors were encountered: