Shown suggestions are for all objects/classes #2483
Replies: 5 comments 9 replies
|
What lsp are you using for this? And please post your blink.cmp config. What shown in the screenshot seem, likely, buffer source results not lsp. |
|
Probably, tbh, i have no clue how to config either the cmp engine or the lsp, i just started with this a couple hours ago. I took the config from some random stackoverflow post: I use init.vim, so i had to head it. |
|
Yep, i have pyright and nvim-lspconfig installed, and i have it enabled in my init.vim with: But same behaviour |
|
Yep, it shows me the warnings at the left side of the line numbers. I think i'm missing a setting for the lsp; how can i tell the lsp to only make suggestions for the current object i'm in and not like for all the imported libraries? |
|
Nop, i haven't configured anything in the lsp (hence, that's'why i think the issue is there) i just enabled it with the line mentioned above. |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I'm new to blink, just installed it and i have a question.. i was expecting basically to get the
dir()suggestions for an object, but blink suggests me, for autocompletion, ALL the methods/classes/functions/etc. available, not only the ones for the object in the current position.Example.. here i'm getting the suggestions for a QWidget object, in python, and i get every method available (numpy/pytorch ones, custom functions, methods of other objects, etc.)
Is this just a configuration thing or this is how it works?
Thanks in advance!
All reactions