lsp

:clojure-lsp: Clojure implementation of the Language Server Protocol: https://clojure-lsp.io/
2021-03-10T11:31:40.001600Z

Hello 🙂 I wonder how we could correct this: with Cider activated, I usually can auto complete my refers in my import section. With LSP this behavior seems to be overriden somehow, anyone got under the same issue?

ericdallo 2021-03-10T11:32:40.002Z

Hum, you mean with LSP the completions inside refer doesn't work?

2021-03-10T11:32:53.002300Z

For example

ericdallo 2021-03-10T11:32:56.002500Z

Need to recheck that, but I think we implemented that

2021-03-10T11:33:03.002700Z

(ns user
  (:require [clojure.string :refer (upp)]))

2021-03-10T11:33:22.002900Z

if the cursor is on the on the last p of upp, then we should suggets upper-case

2021-03-10T11:34:02.003100Z

As of now, I have the feeling that the linter goes crazy and tells me I am not using upp

ericdallo 2021-03-10T11:34:47.003300Z

Shouldnt upp be wrapped with square brackets?

2021-03-10T11:40:13.003500Z

no it can be either of them

ericdallo 2021-03-10T11:41:15.003700Z

TIL 😅 Anyway, not sure that is related. I can double check if that is working properly in a few minutes

2021-03-10T11:44:29.003900Z

thanks

ericdallo 2021-03-10T12:28:12.004100Z

Yeah, we are missing this feature 😕

ericdallo 2021-03-10T12:28:27.004300Z

Feel free to open a issue, I can work on it on the weekend 🙂

2021-03-10T12:45:47.004500Z

Thanks! Maybe, delegate this feature to Cider?

ericdallo 2021-03-10T12:46:23.004700Z

not really, cider is specific for emacs, clojure-lsp is a server for vim/emacs/calva and other editors

ericdallo 2021-03-10T12:46:39.004900Z

also users that don't use cider wouldn't have that

2021-03-10T12:46:57.005100Z

ah oki!

ericdallo 2021-03-10T12:47:03.005300Z

It's not hard to fix I think

2021-03-10T12:50:10.005800Z

voilà 🙂 Thanks a lot for your help.

ericdallo 2021-03-10T12:50:18.006Z

Thank you 😄