Fork me on GitHub
#lsp
<
2022-01-16
>
nonrecursive16:01:25

hi again 🙂 I’m not sure if this has anything to do with lsp-mode, but I’ve noticed that since I started using it defmethods no longer show up in imenu. Is this an lsp-mode thing or should I look elsewhere?

ericdallo17:01:53

do you have a print or something? I'm no imenu user, so not sure

nonrecursive17:01:30

the first image is what counsel-imenu shows without lsp-mode on, the second is what it shows with it on

nonrecursive17:01:02

does that help?

ericdallo17:01:57

I'm not sure where is the source of the information, not sure it's from lsp-mode although lsp-mode do have a imenu integration: https://emacs-lsp.github.io/lsp-mode/page/settings/mode/#lsp-enable-imenu

nonrecursive17:01:24

thanks 🙂 this looks helpful: https://emacs.stackexchange.com/questions/61141/why-is-my-imenu-not-showing-function-and-class-definitions looks like lsp does have lsp--imenu-create-index and that ends up getting used instead of imenu-default-create-index-function

ericdallo17:01:35

yes, you can disable it and probably will fix your issue

nonrecursive17:01:22

:thumbsup: thanks!

nonrecursive17:01:55

that did the trick

nonrecursive17:01:31

really enjoying lsp-mode, thank you so much for your work!

ericdallo17:01:29

cool! glad to hear it!