Intellisense documentation not working when sourcing/running other notebooks #2037
-
Beta Was this translation helpful? Give feedback.
Answered by
jakebailey
Nov 4, 2021
Replies: 1 comment 1 reply
-
Pylance is a static analyzer, and doesn't consume any sort of magic notebook state that these sorts of multi-notebook setups use. We just don't know anything but that one notebook, top to bottom. Completion works because the Jupyter extension augments the completion list with at-runtime data. It can't do that for anything else, though. We're currently working on improving Jupyter support, this would be worth an issue. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mwh3780
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pylance is a static analyzer, and doesn't consume any sort of magic notebook state that these sorts of multi-notebook setups use. We just don't know anything but that one notebook, top to bottom.
Completion works because the Jupyter extension augments the completion list with at-runtime data. It can't do that for anything else, though.
We're currently working on improving Jupyter support, this would be worth an issue.