Fork me on GitHub
#lsp
<
2021-11-03
>
anonimitoraf04:11:34

Any way to make the highlighting of the curr arg visible here?

ericdallo12:11:29

Hum, I thought this was working on clojure-lsp signature LSP method :thinking_face:

anonimitoraf22:11:06

Oh, I see that the curr arg gets highlighted, but just not visibly

ericdallo23:11:08

Maybe something with your theme?

ericdallo23:11:18

I'll check how mine is

ericdallo00:11:19

for me is not easy to notice as well, maybe we should improve the faces on lsp-ui side

ericdallo00:11:24

oh to have the signature as popup, you need to set

(setq lsp-signature-function 'lsp-signature-posframe)
in case you wonder

🤯 1
lassemaatta10:11:35

is it possible to (temporarily) disable clojure-lsp for a particular buffer in emacs? I've tried M-x lsp-mode, which claims that "Lsp mode disabled in current buffer". However, if I manipulate the buffer contents I can see that clojure-lsp is still active (it consumes my cpu cores and logs events).

ericdallo12:11:16

Hum, not sure

ericdallo12:11:26

Maybe ask on discord channel of lsp-mode?

👍 1
djm06:11:24

Does lsp-disconnect help?

lassemaatta06:11:59

yeah, that seems to do the trick 👍

Drew Verlee22:11:23

Will clojure lsp narrow the gap in static analysis between emacs and intelliji. I think cljs, where clj refactor doesn't work, stands to gain the most from this.

ericdallo22:11:20

Yeah, I can't say cljs works as good as clj on clojure-lsp, but most features works the same

ericdallo22:11:46

the refactors for example should work exactly as work with clj

dpsutton22:11:10

i think the biggest win in my book is that you can use an incredibly dumb clojure.main repl with inf-clojure and have all the smarts in lsp rather than a more complicated nrepl setup

👍 1
David Pham22:11:12

This is quite a plus in clojureclr xD

Drew Verlee00:11:11

@U11BV7MTK i'll have to think about that. I'm not really familiar with inf-clojure

dpsutton00:11:01

It has some warts. But it’s as thin a client as you can get. My ideal setup is just an actual repl I can reliably send forms to

Drew Verlee00:11:09

hmm. I have been using the typical nrepl setup so long i don't know what i would be giving up.

Drew Verlee00:11:41

My ongoing headache is the lack of reliable ways to do any form of searching (referenced based) or refactoring in cljs. Even lsp currently breaks in the project i'm working in. e.g find all references often just doesnt. I'm not complaining, i'm just wondering if i should switch to intelliji for work.

ericdallo00:11:31

Feel free to open issues if you find a consistent repro or something to be improved :)

Drew Verlee00:11:53

@UKFSJSM38 I never have issues in my small projects. It's always big company projects! I talked with a coworker and he said it would be alright to maybe pair and have me drive to show you what i run into. If that works for you I'll document the next time i run into something and ping you.

ericdallo00:11:44

sounds good to me!

ericdallo00:11:42

The only thing I know it's not perfect/ideal yet on clojure-lsp is that sometimes clojure-lsp consider the resources folder as source-paths, showing references there where it doesn't makes sense