-
Notifications
You must be signed in to change notification settings - Fork 51
Jump To Definition does not work for modules inside site-packages #144
Comments
What version (commit hash) of
|
@zachliu Just tried with both tags 1.2.9 and 1.2.7 (Jan 15th build) and both still have the same issue. |
right, forgot to mention i'm using |
Hi everyone, I've experienced the same issue here. After a few hours checking the configuration and trying several things, I've found:
According to the last issue, the files outside the workspace are not sent to the MPLS after the Multi-root workspace support was added. See the description for a good and detailed explanation 🚀. It's likely the same issue is affecting to coc-nvim and coc-python extension someway. Today, I also experienced an issue with coc-nvim and the workspaces. It was detecting the root workspace ( |
Hi, the issue should be fixed in the 0.5.37 version of Python Language Server 🎉 (changing parameter configuration). Here's the comment |
I have configured the "python.analysis.downloadChannel": "daily",
"python.analysis.memory.keepLibraryAst": true, After updating the coc-nvim (
I've checked out the repository and seen this option isn't listed in the Anyway, I suppose |
@emarbo What is the version of python language server you are using? (e.g. |
Hi @wookayin, I can download the same version as you, though I think the problem is in the extension. As far as I understand, the That's what I think but I could be completely wrong. Does the feature work for you? I mean, can you use the I didn't go deep into the extension code but I suppose the option must be declared in the package.json to be sent to the LS. Look at the
|
Hi, I have the same problem. |
Hi all, I added to the package.json and it seems to be working for me using virtualenv and MPLS. Can one of u test using my pr, please? PR is here |
When calling using jump to definition inside of a file in any of the site-packages directories I get:
Definition provider not found for current document
.Jumping to/from modules inside of the project works fine, but once I go to any definition outside of the project I get the above error.
The following MPLS output shows the request and response for the initial jump that sends me into the Django site-packages, following requests are not sent to the MPLS server at all and just result in
Definition provider not found for current document
The text was updated successfully, but these errors were encountered: