Missing symbols in autoimport.db #685
Closed
rodrigoscc
started this conversation in
General
Replies: 1 comment
-
|
@rstcruzo thanks for reporting this issue. I believe this is a bug in autoimport, I've converted this discussion over to #687 and this should be fixed by #688. Closing the discussion here, further conversations of this bug should be in #687 and/or #688. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone. I have been using rope with pylsp for a couple of days and noticed something odd. Autoimport suggestions contain my virtual env packages if I add the virtual env site-packages folder to the python_path preference. That's okay, but seems like rope does not scan all subfolders to generate autoimports.
For instance, I'm using
prompt_toolkit, and theprompt_toolkit.promptis returned by rope to auto import it, but theprompt_toolkit.completion.Completeris not.prompt_toolkit.history.FileHistoryis listed too. So the behavior is inconsistent.Seems to me that rope is not able to autoimport from folders inside the prompt_toolkit, since
completionis a folder,historyis a python file. Is this expected? or is there any configuration I can set to fix this?I also checked the autoimport.db file and looks like the folders of prompt_toolkit are missing from there too.
Beta Was this translation helpful? Give feedback.
All reactions