lsp 2024-10-22

forwarding for relevance

oh man i thought i must have had some busted configuration cause i've been having this too for as long as I can remember, nice to know i'm not alone :^)

I also thought that but today I decided to break the silence :'D

Hey @ericdallo , if you could, can you check this issue out?

❤️ 1

I lost that message, let me take a look

❤️ 1

Thank you, if you need any information I'd be happy to provide it!

So, what happens is that when you complete an alias, clojure-lsp list all known alias in the project, example:

(ns foo (:require [clojure.string :as str]))
(ns bar (:require [clojure.string :as string]))

str| ;; will list str and string
we could be smarter and known that there is already a string required and suggest only that. Feel free to open a issue about it with the repro I mentioned here

❤️ 1