You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
Find all References does not search in subdirectories #1988
Extension version (available under the Extensions sidebar): Version: 1.41.1
OS and version: macOS 10.15.2
Python version (& distribution if applicable, e.g. Anaconda): conda 3.6
When I use the "Find All References" function it seems only to find references in scripts in the same folder. The extension does not seem to look into subdirectories.
Philip May (@PhilipMay), thanks for letting us know about this. Are you using the language server or Jedi (see the "python.jediEnable" setting)? Also, please provide the content of the "Python" output panel and the "Python Language Server" output panel. Thanks!
Jedi is enabled. I think I can not disable it because Microsoft Python Language Server requires a platform that supports .NET Core 2.1 - and I am on macOS.
I think I can not disable it because Microsoft Python Language Server requires a platform that supports .NET Core 2.1 - and I am on macOS.
The Python Language Server supports MacOS.
There is no output in the Python panel.
There should be quite a bit of content there (e.g. commands the extension runs to discover Python environments). Let's make sure we're talking about the same thing. In the "View" menu click on "Output". At the top-right of the "OUTPUT" panel that pops up select "Python" in the pull-down menu.
Philip May (@PhilipMay), thanks for the detailed instructions. I was able to reproduce the behavior you've described and agree it shouldn't be happening. We'll work on fixing the problem. Thanks again for letting us know about it.
Philip May (@PhilipMay), unfortunately we have not had time to work on this and I'm not sure when it might happen. 😞 If you don't see activity on this in the next few weeks please ping me again.
With the loop handling when I modify a file AND the file is a loop, then analysis runs on more than one file and it looks that sometimes AddReference does not go to the right place.
Activity
ericsnowcurrently commentedon Jan 28, 2020
Philip May (@PhilipMay), thanks for letting us know about this. Are you using the language server or Jedi (see the "python.jediEnable" setting)? Also, please provide the content of the "Python" output panel and the "Python Language Server" output panel. Thanks!
PhilipMay commentedon Jan 30, 2020
Jedi is enabled. I think I can not disable it because Microsoft Python Language Server requires a platform that supports .NET Core 2.1 - and I am on macOS.
PhilipMay commentedon Jan 30, 2020
There is no output in the Python panel. And I do not see a "Python Language Server" output panel.
ericsnowcurrently commentedon Jan 30, 2020
The Python Language Server supports MacOS.
There should be quite a bit of content there (e.g. commands the extension runs to discover Python environments). Let's make sure we're talking about the same thing. In the "View" menu click on "Output". At the top-right of the "OUTPUT" panel that pops up select "Python" in the pull-down menu.
PhilipMay commentedon Jan 30, 2020
Eric Snow (@ericsnowcurrently) thanks. This here is the output. It only seems to be pylint stuff.
ericsnowcurrently commentedon Feb 4, 2020
Thanks, Philip May (@PhilipMay). Would you mind trying with the language server? In your settings.json put
"python.jediEnabled": false.PhilipMay commentedon Feb 6, 2020
Ok. I turned off jedi.
This is the output of the Python Language Server:
It still does only find references in scripts in the same folder. The extension does not seem to look into subdirectories.
ericsnowcurrently commentedon Feb 6, 2020
Philip May (@PhilipMay), I'd like to reproduce the problem. What would be the simplest example that would repeat it?
PhilipMay commentedon Feb 7, 2020
Great thanks Eric Snow (@ericsnowcurrently)
check_distribution_compatibilityfunctioncheck_distribution_compatibilitycheck_distribution_compatibilitythen the "Find All References" functionalityericsnowcurrently commentedon Feb 10, 2020
Philip May (@PhilipMay), thanks for the detailed instructions. I was able to reproduce the behavior you've described and agree it shouldn't be happening. We'll work on fixing the problem. Thanks again for letting us know about it.
PhilipMay commentedon Feb 10, 2020
Eric Snow (@ericsnowcurrently) Great. Thanks. :-)
PhilipMay commentedon Feb 16, 2020
Any news about this? Did you find the reason?
ericsnowcurrently commentedon Feb 19, 2020
Philip May (@PhilipMay), unfortunately we have not had time to work on this and I'm not sure when it might happen. 😞 If you don't see activity on this in the next few weeks please ping me again.
Luciana Abud (@luabud)
4 remaining items
PhilipMay commentedon Apr 6, 2020
Eric Snow (@ericsnowcurrently) Luciana Abud (@luabud) Jake Bailey (@jakebailey) Are there any news on this?
MikhailArkhipov commentedon Apr 7, 2020
Looks like #1686 broke it. Before
With the loop handling when I modify a file AND the file is a loop, then analysis runs on more than one file and it looks that sometimes
AddReferencedoes not go to the right place.jakebailey commentedon Apr 7, 2020
What's interesting is that presumably jedi/rope didn't handle this either, so this seems pretty exceptional.
PhilipMay commentedon Apr 8, 2020
Alexander Sher (@AlexanderSher) could you please have a look into this issue? Mikhail Arkhipov (@MikhailArkhipov) sais it might be connected to a PR you have been involved. See here: #1686
jakebailey commentedon Apr 8, 2020
Alex is no longer working on this codebase. There's no reason to specifically ping people, we can handle that ourselves.
PhilipMay commentedon Apr 8, 2020
Great. I am sorry. Did not intend to interfere with your team processes.
PhilipMay commentedon May 30, 2020
Hi, any updates or progress on this topic?
Thanks
Philip
MikhailArkhipov commentedon Jun 19, 2020
0.5.51 in daily channel
PhilipMay commentedon Jun 19, 2020
So this is fixed - right?
How to I install this fixed version with VSCode?
When will it be released officially?
MikhailArkhipov commentedon Jun 19, 2020
LS is updated independently from VS Code. It is already out in daily channel. If all good, we promote to
betaand then tostable. Setthen restart. You should get 0.5.51.