question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with Pylance/autocompletion in new interactive window

See original GitHub issue
Version: 1.60.0 (user setup)
Commit: e7d7e9a9348e6a8cc8c03f877d39cb72e5dfb1ff
Date: 2021-09-01T10:41:52.311Z
Electron: 13.1.8
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19043
Extension: v2021.9.0
  1. %config Completer.use_jedi = False is no longer working, so no Jupyter autocompletion is enabled and no autocompletion for column names when using dot notation. https://github.com/microsoft/pylance-release/issues/851 https://github.com/microsoft/vscode-jupyter/issues/1300 6k5EIihGuE

  2. The code entering field is fixed at the bottom, so the autocompletion blocks your code completely sometimes. Snipaste_220 Snipaste_294

  3. unnecessary checking image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
rchiodocommented, Oct 12, 2021

Other than in this issue, I don’t think we have a separate bug for it. Looks like there’s a newline problem in the concatenation of the cells as we pass them to pylance.

1reaction
rchiodocommented, Oct 12, 2021

@rchiodo 3. unnecessary checking is really annoying, and you have no way to stop it once it’s somehow triggered. It underlines my code even if I enter something like df.head(). Could you guys at least add a toggle or something, I can disable this checking in the interactive window for good?

You’d have to disable intellisense altogether (it’s a bug). If you switch to ‘jedi’ as the language server for python code, those squiggles won’t show up.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to ignore Python interactive window for linting in VSCode
I believe the linting inside the interactive window is a new feature, since it only started a while ago. Currently the only way...
Read more >
The Pylance language server has reached stable! - Python
We're excited to announce that Pylance, our fast and feature-rich language support for Python in Visual Studio Code, is now officially out ...
Read more >
Python - Visual Studio Marketplace
Extension for Visual Studio Code - IntelliSense (Pylance), Linting, Debugging (multi-threaded, remote), Jupyter Notebooks, code formatting, refactoring, ...
Read more >
Autocomplete | Python in Visual Studio Code
1. Intellisense/Autocompletion not working for custom modules · Cause: The path to the python executable is incorrect. Solution: Configure the path to the...
Read more >
VS Code Python Tool Does Multiple Interactive Windows
The new update to the VS Code Python extension also improves Pylance functionality, specifically related to how it displays signature help when ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found