PTVS
PTVS copied to clipboard
Module changes in interactive window are not working
Environment
Steps to Reproduce
- Using module combo box, switch to io module
- Define a new method: def hello(): pass
- Check that it exists: dir()
- Switch back to main module
- Check that it doesn't exist in main module: dir()
- import io
Expected behavior io.hello() # you should get intellisense on hello
Actual result
Cannot find the new method defined.
This would require forwarding the module changes to pylance. Not sure we want to do that? Pylance would think that edits had happened to the original file.
This is something that would need support from Pylance to support.