Closed jsigman closed 4 years ago
It is clear that the server and company-backend are capable of identifying methods, classes, etc. It just never assigns these labels for the source files that I'm editing...
I think it's the behavior of mspyls itself.
Right... do you know why that would be, is mypyls misconfigured? In VSCode, it would correctly identify these things
Did you try with VSCode? It's same in my env.
In this simple example, VSCode is capable of distinguishing different entities. classes, variables, and methods
This is quite a strange issue, and seems to be quite a breaking issue. Generally, I want intelligent completions from the source files I'm editing, and not merely the packages in my virtual environment. I don't know why it would treat these two things differently
It may be a configuration issue but not very sure. I am looking into it.
BTW, we are working on the new client https://github.com/emacs-lsp/lsp-pyright, which is a better choice in future.
Awesome. Thanks for all that you do. I think that actually it's still quite workable how it is. I'll look into pyright.
This is very snappy and almost a great replacement for
pyls
, however there are still some ways that I need to fix my configuration of this package.Right now, all symbols in the python file I'm editing show as "Variable". This happens whether I use
capf
backend ofcompany-lsp
backend to company. Clearly, the server can see thatFoo
is a class, and not a variable, because it outputs information. See screenshots below.