-
Notifications
You must be signed in to change notification settings - Fork 300
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 (Ctrl + X) deletes lines but pastes nothing #4185
Comments
Thanks for the feedback. I'll try to address each of the issues you found: Ctrl + X doesn't work. -> This is a dupe of #4035 "Save as" doesn't work. -> Can you elaborate? This is likely by design if your picking from the file menu and you're not using the insiders version of VS code. File | Save and File | Save As are not supported with our older stuff as VS code doesn't recognize our 'editor' as being a document. Variable explorer crashes after trying to display dictionary. -> Can you elaborate on this one as well? This might be a dupe of #4006 Phantom code in empty cell causes mythical syntax errors (like you type single line "x = 5" and get an error "()x = 5: invalid syntax"). -> This is this bug here which should be fixed very soon: #1701 |
No, this is not.
This issue usually happens when I try to cut multiple line of code, not only one.
#4159 |
This still sounds like the the same issue to me. CTRL+X is being handled twice. First time it cuts your actual lines. Second time it cuts a blank line. When you go to paste it pastes just the blank line. We have a potential fix for #4035 but we haven't been able to verify because nobody can repro. It was not in the latest release. Would you like to try a private binary? microsoft/vscode#108572 is not a bug. It's by design. Unless you're using the insiders build of VS code or you end up in our 'custom editor' experiment, Save as is not supported for ipynb files. #4159 should be fixed now. We released yesterday. |
Ctrl-X is probably a dupe of #4035 |
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. |
Sometimes Ctrl + X works correctly (deletes lines from source cell and save them to the clipboard), but sometimes it just deletes lines from source cell and paste nothing into the destination cell. Ctrl + Z also doesn't restore deleted lines, so they are lost irretrievably.
Btw, Python extension become very buggy last month.
Ctrl + X doesn't work.
"Save as" doesn't work.
Variable explorer crashes after trying to display dictionary.
Phantom code in empty cell causes mythical syntax errors (like you type single line "x = 5" and get an error "()x = 5: invalid syntax").
Not cool at all, guys.
The text was updated successfully, but these errors were encountered: