You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm not too familiar with how LSPs work and all but when using basedpyright in neovim with blink.cmp for the completion, their auto-bracketing feature does not seem to work for classes.
I have reported the bug on their end (Saghen/blink.cmp#1182) but the developer mentioned that this might be an issue with the LSP:
Unfortunately, I believe that classes don't show up as methods or functions in the semantic tokens so we don't have any way of reliably adding brackets in this case. You can request this feature on your LSP's bug tracker
The text was updated successfully, but these errors were encountered:
could you provide some more info on what the issue is exactly? when you accept a completion on a class, do you want it to automatically add brackets like so?
this might be something we can do on the language server, but i don't think adding the function or method semantic token to them as suggested in Saghen/blink.cmp#1182 (comment) is a good idea because it will cause them to have the wrong colour when your editor applies the semantic highlighting.
if we do this though we will need to only add the brackets in cases where it's valid to do so. eg. when the class is used in a type annotation you wouldn't want the brackets to be added.
Hello, I'm not too familiar with how LSPs work and all but when using basedpyright in neovim with blink.cmp for the completion, their auto-bracketing feature does not seem to work for classes.
I have reported the bug on their end (Saghen/blink.cmp#1182) but the developer mentioned that this might be an issue with the LSP:
The text was updated successfully, but these errors were encountered: