Fork me on GitHub
#lsp
<
2022-10-27
>
mpenet07:10:04

action idea: "rewrite [x.y.z :as foo :refer [bar]] to [x.y.z :as foo] and fix references to bar as foo/bar

👍 2
ericdallo12:10:06

Looks interesting, something like "Replace refers with alias"

nate12:10:06

This would be awesome!

lukasz14:10:49

Yes please!

ericdallo14:10:24

Please create a issue so we can prioritize

jacob.maine16:10:26

In clj-refactor, this was called https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-stop-referring. It was a really nice feature and I'd love to see it in clojure-lsp!

👍 2
ericdallo16:10:09

Cool, I think we could use that name for the command but have a more clear one for the code action

J19:10:53

Hi! Is there a way to check initialisation error of lsp? I don’t know what’s happening (`emacs` with lsp). I have just this option:

ericdallo20:10:10

the classpath failed

ericdallo20:10:19

not sure why emacs is not showing the error title though

ericdallo20:10:24

that's weird

ericdallo20:10:31

anyway, check server logs there will be a message

J05:10:22

Thanks for your answer! In fact, the problem is the command npx shadow-cljs classpath :

J06:10:05

I found what’s going on. Thanks shadow-cljs channel and theller. It was just a bad config in my npmrc. Now it works fine! Thanks again ericdallo!

👍 1