Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

comment/uncomment shortcut #34

Closed
dschick opened this issue Aug 14, 2018 · 10 comments
Closed

comment/uncomment shortcut #34

dschick opened this issue Aug 14, 2018 · 10 comments

Comments

@dschick
Copy link

dschick commented Aug 14, 2018

thanks for the great extension!
Would it be possible to add a comment/uncomment shortcut as well?

@NoahStapp
Copy link
Contributor

Hi @dschick,

Can you be more specific as to what you mean by a comment/uncomment shortcut? Commenting and uncommenting where exactly?

@dschick
Copy link
Author

dschick commented Aug 15, 2018

@NoahStapp there is actually a jupyter notebook extension
https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tree/master/src/jupyter_contrib_nbextensions/nbextensions/comment-uncomment
So I would like to comment/uncomment code in the notebook cells with a shortcut like in spyder, etc

@NoahStapp
Copy link
Contributor

In notebooks the shortcut Control-Slash block comments code. Do you want to be able to change it, or are you looking for that command in general?

@dschick
Copy link
Author

dschick commented Aug 16, 2018

I actually would like to change that command, because on a non-english keyboard "slash" is not directly available which makes it hard to use this shortcut

@Lef-F
Copy link

Lef-F commented Aug 29, 2018

Same here! On the Swedish keyboard you have to press Shift + 7 to get / and of course pressing Ctrl + Shift + 7 does not work.

@jasongrout
Copy link

In particular, these don't use the jupyterlab application-wide keyboard shortcut system, so changing these shortcuts would require some work in JupyterLab. Could you open an issue in JupyterLab about changing these shortcut keys?

@gustnt
Copy link

gustnt commented Feb 6, 2020

@dschick were you able to use the shortcut in non-English keyboard?

@dschick
Copy link
Author

dschick commented Feb 14, 2020

@gustnt nope.
@jasongrout I linked this issue to jupyterlab/jupyterlab#4778
So we could close it here I guess?

@afshin
Copy link
Member

afshin commented Feb 14, 2020

Cheers! Thanks for cross-referencing, @dschick. Let's close it here.

@afshin afshin closed this as completed Feb 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants