Open DonJayamanne opened 5 years ago
You might need to add an entry point into setup.py
No joy, Here's my entry in setup.py
'code_lens' = 'pyls.plugins.code_lens'
I can see the the code_lens
in python.ls.py
is not but not my hook implementation
This branch has an example of getting this to work: https://github.com/palantir/python-language-server/tree/ngates/code-lens-support
Will try tonight, thanks
I'm having trouble adding a new plugin for code_lenses, here's what I've done:
plugins/code_lens.py
@hookimpl def pyls_code_lens(config, workspace, document): return []