-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add a shortcut to create a new cell #7609
Comments
No, there isn't and since it's very simple to create a cell, we don't plan to add it, sorry. |
sorry for diggin this up again - has your opinion on this changed since then? some people make heavy use of cells to order their code, and the hash and percent are really far apart on most keyboards, so you would need to use both hands - this breaks flow! alternatively, is there a way to add any sequence of characters into the script? |
Hey @mluerig, thanks for bringing this up again to our attention. Since we're going to have a new button to create cells in Spyder 6, we can attach a shortcut to it to have this functionality. Any suggestions for the shortcut? |
great news! maybe CTRL + 2, since 1 is toggle comment? I think of code cells as in structuring elements, like comments, to annotate code, so I think it might be meaningful to have it close by. but not super imporant since we can always modify the shortcut to our needs... is the button going to be "toggle" or "insert" code cell? |
Just in case, the PR that probably fixed this: #20509 |
wow, minds thinking alike 👍
|
Ok, I'm going to close this issue for now. Please open a new one once Spyder 6 is released if that's not the behavior you'd expect. |
I am so sorry, but I can't find this button or cntrl+2 to create cells in spyder version 5.5.5 |
That button will be available in Spyder 6, to be released in a month or so. |
Thank you very much. You and the team are amazing! |
Is ther any shortcut to create cell (
# %%
)?The text was updated successfully, but these errors were encountered: