Clean Clojure Namespace Declarations With An Opinionated Style Guide.
This plugin is a port of the refactor-nrepl
's clean-ns
operation.
- Eliminate
:use
clauses in favor ofrefer
:all
. - Sort required libraries, imports and vectors of referred symbols.
- Remove any duplication in the
:require
and:import
form.
Preferences(Settings) -> Plugins -> Marketplace -> Search "Amethyst" -> Install Plugin
- Right click mouse -> clean ns
- Ctrl + Shift + A -> clean ns