Skip to content
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

Cut (Shift+Del or Ctrl+X) occasionally deletes twice #4035

Closed
larsch opened this issue Nov 27, 2020 · 5 comments
Closed

Cut (Shift+Del or Ctrl+X) occasionally deletes twice #4035

larsch opened this issue Nov 27, 2020 · 5 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@larsch
Copy link

larsch commented Nov 27, 2020

Environment data

  • VS Code version: XXX
  • Jupyter Extension version: v2020.11.372831992
  • Python Extension version: v2020.11.371526539
  • OS: Windows 10 2004
  • Python and/or Anaconda version: 3.8

Expected behaviour

Cut (Shift+Delete, or Ctrl+X) should delete only selection and/or currently selected line.

Actual behaviour

Cut (Shift+Delete, Ctrl+X) occasionally deletes twice.

Steps to reproduce:

A: In notebook cell, make a selection, press Shift+Del. 50% of the time selection is deleted correctly. 50% of the time, the entire line is deleted too.

B; In notebook cell, with no selection, press Shift+Del. 50% of the time the current line is correctly deleted. 50% of the time, two lines are deleted.

@larsch larsch added the bug Issue identified by VS Code Team member as probable bug label Nov 27, 2020
@claudiaregio
Copy link
Contributor

@larsch I am able to reproduce this at this time (in stable and insiders). Will discuss this at triage meeting.

@greazer
Copy link
Member

greazer commented Dec 1, 2020

Looks like a dupe of VS Code bug: microsoft/vscode#101946. We should investigate and open a new bug if necessary.

@rchiodo rchiodo self-assigned this Dec 3, 2020
@rchiodo
Copy link
Contributor

rchiodo commented Dec 3, 2020

Going to work on making a repro case

@rchiodo
Copy link
Contributor

rchiodo commented Dec 11, 2020

@greazer
Copy link
Member

greazer commented Jun 6, 2021

Thanks for your feedback. This issue will be addressed once VS Code adds native support for editing notebooks. Please see microsoft/vscode#91987. You can experiment by using VS Code insiders, which defaults to the new notebook experience.

@greazer greazer closed this as completed Jun 6, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

5 participants