halfbrained / cuda_lsp

LSP Client plugin for CudaText
6 stars 4 forks source link

PyLS: type 'keyword' for many non-keyword items #115

Closed Alexey-T closed 2 years ago

Alexey-T commented 2 years ago

file dlg.py from cuda_lsp. Screenshot from 2022-05-19 10-21-04

Screenshot from 2022-05-19 10-20-53

Screenshot from 2022-05-19 10-20-44

type 'keyword' for many IDs which are not keywords!

lsp_py.json

{
    "lexers": {
      "Python": "python"
    },
    "cmd_unix": ["~/.local/bin/pyls"],
    "log_stderr": true    
}

Ubuntu 20.

@veksha do you use this server?

veksha commented 2 years ago

i'm using pylsp.exe, not pyls.exe can't see problem on my side with pylsp.

Alexey-T commented 2 years ago

ok, it's server issue.

veksha commented 2 years ago

https://github.com/palantir/python-language-server/issues/840

this issue is known but:

The palantir python-language-server (pyls) is unmaintained; a maintained fork is the python-lsp-server (pylsp) project; you can install it with pip via: pip install python-lsp-server

also new client-side filtering of cuda_lsp is case sensitive. is it ok?

Alexey-T commented 2 years ago

Thanks. yes, it is ok.

Alexey-T commented 2 years ago

wiki edited!