Re: Tools for cleaning namespaces?

2014-07-29 Thread Daniel Compton
There’s also a lein plugin, ns-dep-graph which will generate a graphviz file for your namespace dependencies. https://github.com/hilverd/lein-ns-dep-graph Daniel. On Tuesday, 29 July 2014 at 2:38 am, Andy Fingerhut wrote: > You can try Eastwood's :unused-namespaces linter for #2. It is disabl

Re: Tools for cleaning namespaces?

2014-07-29 Thread benedek fazekas
hi, for your second point clj-refactor.el [1] has a solution called remove unused requires. You can find other other useful cleaning/sorting/reorganising functions there too -- for example 'move one or more forms to an other namespace' can be helpful too for your use case. You can run the abov

Re: Tools for cleaning namespaces?

2014-07-28 Thread Bertrand Dechoux
Cool! Thanks a lot. Graphviz is low tech enough for me. I will give a try at both. Bertrand Le lundi 28 juillet 2014 16:38:52 UTC+2, Andy Fingerhut a écrit : > > You can try Eastwood's :unused-namespaces linter for #2. It is disabled > by default, so you need to give an option on the command l

Re: Tools for cleaning namespaces?

2014-07-28 Thread Andy Fingerhut
You can try Eastwood's :unused-namespaces linter for #2. It is disabled by default, so you need to give an option on the command line to enable it. If you want to try *only* that linter, and none of the other warnings, first follow the simple install instructions in the README, then change to the

Tools for cleaning namespaces?

2014-07-28 Thread Bertrand Dechoux
Hello, I am trying to tidy up a project and I have two actions that could be somehow be automatized. *1) Display the dependencies between the namespace of my project as a graph (text graph being good enough).* One would want to break dependencies which do not make sense and sometimes to create