Fork me on GitHub
#lsp
<
2023-02-26
>
Omar21:02:40

I can't believe how many times I've accidentally blacklisted a project or in the most recent case somehow my entire user root directory due to the way emacs displays the prompt.

ericdallo21:02:53

hum, any suggestions to improve? it doesn't seem that bad to me

Omar21:02:20

I'm not sure, it doesn't happen too frequently

Omar21:02:31

but I was surprised to see my entire user directory blacklisted, have no idea how that happened

Omar21:02:45

i've probably been coding without linting/autocomplete for a few weeks now and only now noticed

😮 1
ericdallo21:02:04

isn't that good to blacklist he home directory? usually you don't want to add your home as a project

Omar21:02:42

When I ran lsp-workspace-blacklist-remove it seemed to tell me my user directory was the issue (while in a project directory)

Omar21:02:09

so from my perspective it seemed to cascade to every directory within (maybe I'm mistaken?)

ericdallo21:02:37

maybe, TBH I'm not that familiar with blacklist, used a few times only

Omar21:02:54

Actually now every clojure project I have now has LSP stuff running, so it definitely did blacklist everything at once

ericdallo21:02:27

BTW, is that common the need to "think" what project to import? for me using doom-emacs, it's almost the i option that I want, since it already opens the project with projectile as root

Omar21:02:34

the prompt will come up most of the time somehow when I'm already bashing away at my keyboard and I'll accidentally blacklist something without realizing it

Omar21:02:07

yeah i'm also using doom emacs, i think the issue is the nature of how it comes up sometimes surprising me when I'm already doing things

Omar21:02:22

so I'll confirm something I didn't intend to and it will disappear fast without me knowing what happened

ericdallo21:02:32

I see, that should not be normal I think

Omar21:02:35

if something more concrete comes up and I accidentally do it again i'll try to pay more attention to how it occurs and might be able to suggest something useful

👍 1
Omar22:02:17

okay so when I hit go to definition for a library like this for example, is there an option I can choose from to give me autocomplete from this namespace?

Omar22:02:00

I tried both i while creating a directory like it asks me and n and both don't seem to give me

ericdallo22:02:15

Hum, that prompt should not happen anymore for external deps, we fixed some months ago on both clojure-lsp + lsp-mode, could you double check if clojure-lsp and lsp-mode are updated?

1
Omar22:02:09

ahh they're most likely not

Omar22:02:09

cool all seems to be better now, my version was sept of last year

ericdallo22:02:46

Cool, you're welcome

elken22:02:43

Your version of what? clojure-lsp?

Omar22:02:41

➜ ~ clojure-lsp --version clojure-lsp 2022.09.01-15.27.31 clj-kondo 2022.08.03 all updated now

🙌 2