Hey @snoe, I'm trying to add a new funcionality to clean-ns
and I want to test the LSP server local, how can I generate the binary from my local code?
Forget it, I realized that it's lein bin
🙂
I think I'll add to README 😛
:reviewplease: https://github.com/snoe/clojure-lsp/pull/129
Thanks @ericdallo - should https://github.com/snoe/clojure-lsp/pull/125 be merged? I just don't know emacs enough to understand where the convo landed.
I think so, that's the way I use for mothns/lsp-mode recommends. 🙂
Do you think it's "easy" to implement the search for unused symbols and remove on clean-ns
?
If we can use some function that return if a symbol is used I think it's easy to remove it on clean-ns
I think so - add-missing-libspec
should be a decent start. One thing I would want is to keep "raw" namespaces - I often see those required from a main
for defmethod or similar reasons (:require [foo.a :as a] foo.b)
=> (:require foo.b)
even if unused.
Right, any easy way to converta node
(from n/children) to use a zip
?
I'm want to do something like this:
(-> (n/vector-node [:c :a])
z/rightmost)
but it cant cast from SeqNode
hrm, maybe z/of
not sure though usually it's stay in zipper or stay in nodes 😕
I think there's no way 😔