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.
Go to reference is not working for a relative import * #730
I assume you are opening RootFolderForProject as workspace?
Does the code work in Python console? I am asking since ... does not necessarily mean three folders up per https://www.python.org/dev/peps/pep-0328/ ie "Two or more leading dots give a relative import to the parent(s) of the current package, one level per dot after the first. " .
The code works and other Python IDEs seem to navigate this just fine.
In Eclipse (Pydev), I believe I added the workspace directory as a Source Folder (don't remember if this was absolutely necessary for the relative imports to work..)
Alexander Sher (@AlexanderSher) , Mikhail Arkhipov (@MikhailArkhipov) - I am not sure if the issue was fixed...but the relative import doesn't seem to be working for relative paths with ... yet. I am on the latest LS as of now.
Microsoft Python Language Server version 0.2.43.0
tmab2003 commented on Mon Mar 11 2019
I have the following in my main module:
file_1#file_1.pyfrom ...scenarios import *module_1.method_1()Where I have a module called 'module_1' in the
scenariospackage which has a method defined 'method_1'and I cannot seem to F12 in to any of these modules or methods.