Skip to content
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

Feature request: cljr-auto-sort-project-dependencies #384

Open
raxod502 opened this issue Jul 18, 2017 · 2 comments
Open

Feature request: cljr-auto-sort-project-dependencies #384

raxod502 opened this issue Jul 18, 2017 · 2 comments

Comments

@raxod502
Copy link
Contributor

I enjoy having my namespace forms automatically sorted after I invoke cljr-add-require-to-ns. However, when I invoke cljr-add-project-dependency, I must then invoke cljr-sort-project-dependencies in order to have my project dependencies re-sorted. Would it be appropriate to add an analogous variable like cljr-auto-sort-project-dependencies to allow for this use case?

It seems like a pretty trivial change so I can make a pull request, but I would like to make sure there isn't anything obvious I'm missing, first.

@expez
Copy link
Member

expez commented Jul 18, 2017

Good idea! 👍

raxod502 added a commit to raxod502/clj-refactor.el that referenced this issue Jul 18, 2017
* Add new defcustom `cljr-auto-sort-project-dependencies', defaults to
  nil.
* Add new function `cljr--maybe-sort-project-dependencies'.
* Call new function from `cljr-add-project-dependency'.
* Update changelog.
@raxod502
Copy link
Contributor Author

See #385.

raxod502 added a commit to raxod502/clj-refactor.el that referenced this issue Mar 15, 2018
@clojure-emacs clojure-emacs deleted a comment from MalloZup Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants