-
Notifications
You must be signed in to change notification settings - Fork 291
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
Duplicated intellisense in .ipynb files #11938
Comments
Thanks for the issue. Can you post your log as described here: https://github.com/microsoft/pylance-release/blob/main/TROUBLESHOOTING.md#filing-an-issue If you have the latest Jupyter/Python/Pylance combination, this shouldn't happen. |
Your user settings.json would be good to see too. I don't think the old settings should interfere with newer bits, but they might be. |
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 that! It also works for me. This is the only solution I've found so far that really solves the duplicate intellisence problem. |
@rchiodo. Sorry for the late reply. The log is really long so I created a gist: https://gist.github.com/alanyoungCN/eb1a02404abc9235ae208c358a9bd3a1. Also, according to the comments before, Your Python extension (2022.16.1) seems old and the newest version is 2022.18.1. This may be the key to this issue. |
@rchiodo |
Looks like something broke in the jupyter extension. It's attempting to provide intellisense at the same time as pylance. I can repro with the newer version. |
My guess here is that this is actually in the python extension. That the python extension is saying to jupyter that it should use the concat language server. However, I'm wondering if the jupyter extension ever needs to have a language server anymore? Can we just remove it? Or maybe just have it available when pylance isn't in use? |
Oh this is fixed in the prerelese version. If you upgrade the Jupyter Extension to Name: 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. |
I'm also having this problem with that same pre-release version! Pre-release version v2022.11.1003281132 was also working just fine. |
@SjoerdV or @ZupoLlask - could you open a new issue with some further details if pre-release is still not working for you? |
Hello @amunger , can you take a look? I open a new issue for the problem. |
Hello, experiencing the same problem on my Macbook pro m1 2020 ( Macos Ventura 13.0.1 ) |
Try upgrading your Jupyter Extension to pre-release version v2022.11.1003281132 |
Just to make it as explicit as possible for anyone as daft as me: on the extension page inside vs code, you have to click "Switch to Pre-Release Version", then click the green down arrow next to "Uninstall", click "Install Another Version...", click on v2022.11.1003281132, then finally reload window. It took me forever to find "Install Another Version...". |
Hi everyone! Changing to pre-release version also worked for me in version |
I have the same problem |
thanks I have solved the problem by update jupyter extension to v2022.11.1003412109 |
@debonte Hi, It seems that I am still encountering such a problem. When I have not started the kernel, I only see one suggestion. But after running the cell and entering the same command again, I will see repeated suggestions. If I haven't run this cell yet, what I can see is: After I ran the cell to import the module, repeated suggestions appeared. Reported on: |
@yibenhuang I'm also getting that same behavior... |
@yibenhuang, @ZupoLlask, I believe you are hitting #13596. If you disagree, please open a new issue. |
Environment data
Code Snippet
Expected behaviour
Show only single intellisense/suggestion/information.
Actual behaviour
Show intellisense/suggestion/information twice.
Repro Steps
P.S.
There have been some discussions (microsoft/pylance-release#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?The text was updated successfully, but these errors were encountered: