-
Notifications
You must be signed in to change notification settings - Fork 305
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
Method completions inserting double values when selected #5956
Comments
Have to discuss if this is worth fixing since this is why we recommend language servers |
Somehow the text edits from Jupyter aren't working in latest VS code. I'm guessing this doesn't repro in the interactive window. |
It does not repro in the IW. However, it seems likely that people who set the LS to none is a small number. Therefore, moving out of upcoming milestone. |
Any feedback on the problem ? |
This repros with pylance. It doesnt' require ls set to none. |
@rchiodo Yep, I figured it out. Disabled pylance, and problem solved. |
Was anything changed here? What needs verification? |
@DonJayamanne just want to confirm that with the changes you merged @jiewangjs will no longer need to disable Pylance to avoid seeing double values? |
@SiddhanthUnnithan I believe the completions were actually coming from Jupyter, we merge both Pylance and Jupyter returned ones. This wasn't a Pylance issue so @jiewangjs shouldn't need to disable Pylance for Don's fixes to be seen |
I'm currently working in a native notebook editor on my local VS Code.
I have my Python language server set to "None" (not using Pylance or Jedi), and am seeing the following for completions:
When choosing the completion I see the following:
Instead of just inserting "get_image_details" the Notebook editor inserts "env.get_image_details". I'd expect only the method from the completion to be inserted when selected.
The text was updated successfully, but these errors were encountered: