lsp

:clojure-lsp: Clojure implementation of the Language Server Protocol: https://clojure-lsp.io/
ericdallo 2021-03-24T01:03:47.098100Z

:clojure-lsp: Released https://github.com/clojure-lsp/clojure-lsp/releases/tag/2021.03.24-00.41.55 with just some bug fixes and bumps: • Migrate from lein to deps.edn • Bump clj-kondo to 2021.03.22 • Fix clean-ns sorting according to symbols not brackets - Fixes #380 c/c @dpsutton • Fix missing graalvm reflect config for CompletionItemTextEdit - Fixes #381 c/c @brandon.ringe

4
🎉 5
2021-03-24T12:32:26.099200Z

Did I miss anything about auto-complete with LSP? I have the feeling it is not working anymore.

2021-03-24T12:32:43.099700Z

I use emacs (if that helps haha)

ericdallo 2021-03-24T12:33:09.100700Z

It should work, are you using latest version?

2021-03-24T12:33:14.101Z

Specifically, in ClojureScript, when I import a namespace with an alias, the autocomplete function fails to provide me any help

2021-03-24T12:33:15.101200Z

yes

2021-03-24T12:33:23.101500Z

latest version (emacs and clojure-lsp)

2021-03-24T12:33:35.101800Z

I tried with re-frame.core :as rf

2021-03-24T12:33:42.102Z

then rf/

2021-03-24T12:34:23.102700Z

Disabling lsp and reenabling cider seems to do the trick.

2021-03-24T12:34:31.103Z

but I wonder if there was anything.

2021-03-24T12:35:08.103900Z

Emacs tells me there is an internal error when I try to auto complete

ericdallo 2021-03-24T12:35:12.104100Z

it should work, please open an issue following the issue template and check https://clojure-lsp.github.io/clojure-lsp/troubleshooting/ as well

ericdallo 2021-03-24T12:35:19.104300Z

what error?

2021-03-24T12:35:30.104600Z

completion--some: Internal error.

2021-03-24T12:35:40.104800Z

is the message I get

ericdallo 2021-03-24T12:35:44.104900Z

we fixed a issue similar on latest release: https://clojurians.slack.com/archives/CPABC1H61/p1616547827098100

ericdallo 2021-03-24T12:36:56.105200Z

it seems to be a issue with your lsp-mode so, you can debug it with toggle-debug-on-error

ericdallo 2021-03-24T12:37:00.105400Z

to get the stacktrace