sourcegraph / python-langserver

Language server which talks LSP via JSONRPC for Python.
MIT License
102 stars 12 forks source link

Symbol hover+refs work, but can't jump to def #11

Closed dadlerj closed 7 years ago

dadlerj commented 7 years ago

Several symbols in this file have this issue: I can hover to see a description/comments and type info, I can get local refs, but I can't jump to def. This symbol is an example.

https://sourcegraph.com/github.com/django/django/-/blob/django/urls/utils.py#L41:26

keegancsmith commented 7 years ago

Thanks. This is just a bug in the def code. Will fix and close once shipped.

keegancsmith commented 7 years ago

I've made it so it doesn't throw an exception in the backend. However, AttributeError is part of the python stdlib, and we do not currently support interacting with it (but will!)

keegancsmith commented 7 years ago

image

much better :)