-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
CTRL+D delete string shortcut removed in jupyter 4.0.0 #14548
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
@mahashiah Thank you for your suggestion! We apologize for the regression and we welcome contributions to reinstate it. |
A few clarifications to dissect the issue:
How we can address this?
Finally, @mahashiah:
|
@krassowski krassowski thank you for your dedicated time and clarifying that I did not intend to show a sarcast |
So can we have ctrl+D to delete line again ? |
Thank you for interest in this issue @SysuJayce. It seems that people participating in the discussion agree that the default keymap of CodeMirror in JupyterLab can be amended and this issue is planned to be resolved within current 4.0.x milestone. Contributions to resolve it are also welcomed. |
Thank you @andrii-i . I also migrate from 3.x and I like the keyboard shortcut of 3.x. It is great to know that we can change the default keymap in 4.x 👍 |
I would really love if it would be possible to have both shortcuts for multi select and full line removal. Preferably configurable to have mutli select on ctrl+d and line removal on ctrl+shift+k to match VS Code defaults |
For people who uses normal keyboards which have the Delete key, |
It seems Shift+Del is equivalent as Line Cut in standard PC: Also I would like to contribute to this issue. (Ctrl-D is like a religious thing to me when rapid prototyping.) |
Hi @y-he2 are you still interested in contributing? Let me know if you need further pointers. |
Absolutely, Im pretty determined to solve this and #4778. It would be easiest if I can join some meeting or if we can do some "Discord" to get me started. |
@y-he2 Thank you for your interest! We don't have an official Discord, but you can join our Gitter chat server here: https://app.gitter.im/#/room/#jupyter_jupyter:gitter.im |
We also have a contributing guide - don't feel obliged to read it all, but it will likely have answers to most of questions about setup and contributing, basically if you can't find something in there after 15 minutes shout out in gitter. |
Right, thanks for the info, will join and have a look at the guide. |
any progress? |
I have setup the environment and started to study the code. Have been busy all week days as usual.
and how these factories works with custom hotkey stuff. Can keep us updated with further detail when I have more. |
Desperately need ctrl-D back. |
Is this issue being worked on? I can help if no one is looking at it. |
My current understanding is we understand the priority for it, but not being worked on too much unfortunately. (pls correct me if wrong) So yes, please do help if you have some frontend skills or even better CodeMirror (the editor component used in Jupyter Lab) experience. As I said in #4778 (comment), I saw these two issues are related in terms of hotkey customization/mechanism in CodeMirrow. I was pretty determined to solve them, however I totally underestimated the complexity with CodeMirror, my frontend skills, and spare time. I do still believe these two issues are pretty important to solve, so please, any one with the right skills are needed. Im slowly studying the code but let me know if I can help in any way. My understanding is it looks like a small thing to implement but may require some big change in the CodeMirror code structure, or at least some helper mechanism to be implemented for hotkeys. Maybe we can create a Discord server or Gitter thread specific for these two issues (this and #4778), do you think its good practice @JasonWeill @krassowski ? |
I know this sounds dramatic but as someone that was rght on the edge of dropping JupyterLab entirely in favor VSCode's Jupyter because of its superior editor functionality, this ended up being a straw the broke the camels back and I've switched. Just my personal feedback if its helpful for devs to prioritze work. I could see myself swtiching back bc other stuff is better here, but I currently feel handcuffed in the JupyterLab editor (worse multicursor, less productivity plugins, ofc the now-missing Ctrl+D, etc...) |
@y-he2 @marius311 Thank you for your continuing engagement with this issue! You can join us in our Matrix (Gitter, Element) chat room about JupyterLab here: https://matrix.to/#/#jupyterlab_jupyterlab:gitter.im Our developers would be happy to review a pull request to help fix this issue. |
I think we all understand the importance of this issue, just it may not be as easy to fix even if it looks like a small thing on the UI side. |
To clarify, there is a group of folks who maintain and/or contribute to JupyterLab project, some of whom are volunteers and in general there is no ownership of developers; Project Jupyter itself (as far as I know) does not employ any developers (though maybe I am wrong? this is probably a topic for a different discussion). That said, it is true that (part of) JupyterLab team expressed intent to prioiritize review of pull requests fixing regressions in 4.0 over other pull requests. As previously stated, I am happy to guide any contributor in my free time.
II think it would be fair to say that it is quite time consuming to fix as it involves both codemirror and JupyterLab shortcut systems, and there is so much time one can sacrifice from the family time in the evenings 🤷♂️ |
I agree with @krassowski that JupyterLab is a community-run project. We have a large community of contributors, and we welcome contributions from anyone who can help improve our software. The best way to have a positive impact on the community is to work on and contribute pull requests. Adding comments and votes on issues makes them more visible, but there is no core dev team that uses them to prioritize work. |
Thanks for the links again, I was trying to pointing @dimi-tree to it (he offered help) but didnt pasted it. More over, I was thinking maybe creating a thread in that Gitter chat room, or a Discord server specifically for this issue and #4778 so we wont spam the main chat, before the pull request. Because I feel like we would need to gather some work force for these two issues, and it would be easier to communicate by just join the specific server for it for discussions. Since it may be a bit too much for solos alone.
Yes I totally agree and that was part of the message I was trying to forward, apologies for any misunderstanding that may be caused by any miscommunication. |
Deleting a line (string) has become an impossible task on my keyboard since developers removed the Ctrl+D shortcut in version 4.0. I must commend the developers for making it exceptionally challenging to utilize Jupyter on a 60% mechanical keyboard lacking a dedicated delete key. It seems to be an erroneous assumption that every keyboard possesses such a key, which is evidently not the case. Moreover, you have imposed the compulsory assignment of delete as a vital key while assigning Ctrl+D to a new feature that is essentially futile. It would have been far more practical to allocate Ctrl+F for word searches, as you did for Ctrl+D. How can I delete a row in Jupyter 4.0 when the Ctrl+D shortcut is invariably linked to an unhelpful search function? To be frank, I had a favorable opinion of Jupyter, but now I find it necessary to downgrade and revert to a previous version, abandoning 4.0 entirely.
The text was updated successfully, but these errors were encountered: