-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intellisense doesn't support types and var provided from a call to "%run <notebook.ipynb>" (was makes mistakes every 2-3 lines of my code in Jupyter Notebook #6987
Comments
I need to add, that I use
in the first code cell. So, |
I «fixed» my problem, using this comment at the top of notebook:
It seems for me, that using |
@StevenLi-DS @sindzicat Please could you install the latest version of VS Code 1.74 and the latest versions of Jupyter, Python and Pylance extensions and let me know whether this has been resoved. |
@DonJayamanne Indeed, the problem is solved with the latest versions, thanks! |
@DonJayamanne, yes it's fixed! Many thanks! 👍 |
I can still reproduce the error reported by @StevenLi-DS #6987 (comment): Imported modules are not recognized either: All related extensions are up-to-date at the time I'm writing this: Is this somehow related to microsoft/vscode#154983? |
Environment data
Expected behaviour
Correct code is detected as corrected one by Pylance
Actual behaviour
Let's look this cell in Notebook:
Code in this cell is correct. I'm sure about this, because I run it, and it worked as expected. But Pylance disagree with me:
"PrettyTable" is not defined
, but it's defined..."table" is not defined
, but it's defined in current code cell..."apdtable" is not defined
, but I even didn't typed such word. Anyway, there is no such word in my code."dot_align" is not defined
, but it's defined...And this is only ONE code cell! It's very annoying and makes impossible and very hard to works with notebooks.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
Logs
Output for
Jupyter
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toJupyter
)The text was updated successfully, but these errors were encountered: