Duplicated intellisense in .ipynb files
See original GitHub issueEnvironment data
- Language Server version: v2022.11.11
- OS and version: MacOS
- Jupyter Extension version: v2022.9.1202862440
- Python Extension version: v2022.18.1
- Python version: 3.9
Code Snippet
import numpy as np
foo = np.random.rand(5, 2, 4)
print(foo)
Expected behaviour
Show only single intellisense/suggestion/information.
Actual behaviour
Show intellisense/suggestion/information twice.
Repro Steps
- Create a folder and create a new ipynb file.
- Code and point to some tokens or package names.
P.S.
There have been some discussions (https://github.com/microsoft/pylance-release/issues/3027) about this issue and according to @debonte, pylance will not support python.pylanceLspNotebooksEnabled
option and remove old notebooks implementation (it seems the option has been removed but the jupyter implementation remains old), I still think this is an abnormal behavior. So how to fix this or use the new notebooks implementation?
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:21 (8 by maintainers)
Top Results From Across the Web
Duplicated intellisense in .ipynb files · Issue #11938 - GitHub
I found the same problem. After changing only the python version from 2022.18.1 to 2022.16.1, the duplicate do disappear by now. Thanks for...
Read more >Jupyter notebook autocomplete showing duplicate options
Jupyter notebook's autocomplete seems working, but somehow it will show duplicate options for the method. For example below: np.allclose ...
Read more >Notebooks — JupyterLab 3.6.0b0 documentation
Jupyter notebooks are documents that combine live runnable code with narrative text (Markdown), equations (LaTeX), images, interactive visualizations and other ...
Read more >Jupyter Notebook Autocomplete Intellisense and Menu ...
In this video, Jupyter Notebook, Autocomplete, and Intellisense feature, and Menu Shortcuts Tutorial for Machine Learning is discussed.
Read more >Jupyter Notebook Users Manual.ipynb - Bryn Mawr College
It allows you to paste the duplicated cell from your clipboard into your notebook. These buttons allow you to move the location of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh this is fixed in the prerelese version. If you upgrade the Jupyter Extension to
Name: Jupyter Id: ms-toolsai.jupyter Description: Jupyter notebook support, interactive programming and computing that supports Intellisense, debugging and more. Version: 2022.11.1003131031 Publisher: Microsoft VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
The problem goes away.
B.t.w. latest pre-release version (v2022.11.1003291043) will not start, but the exact version mentioned by @rchiodo works! And fixes the duplicate symbols issue.