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
Pylance analyzes these extra paths only during the initialization.
If I add new Python methods/functions to the repoA, Pylance doesn't see it. Auto resolve/autocomplete doesn't work.
The new method/function became visible only after manually Pylance restart. Like reinitialization flow after IDE restart.
How to force Pylance to automatically see new methods on the fly?
Thanks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Team,
I use workspace mode. Some libs are on different repos.
To make these different libs visible for Pylance I use python.analysis.extraPaths:
"python.analysis.extraPaths": [ "../repoA", "../repoB" ],
Pylance analyzes these extra paths only during the initialization.
If I add new Python methods/functions to the repoA, Pylance doesn't see it. Auto resolve/autocomplete doesn't work.
The new method/function became visible only after manually Pylance restart. Like reinitialization flow after IDE restart.
How to force Pylance to automatically see new methods on the fly?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions