-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Start documenting how to write frontend extensions #758
Conversation
This if course require more work, but the request for custom key binding is too high, and the process of writing extensions too widespread on the internet.
This is a good idea, IMO. Currently I cannot be much of help, hopefully in a few weeks. @jcb91 is also very active, maybe he has some comments/additions ? |
@juhasch thanks for ping-ing me in on this (not really sure what the appropriate word for the action is, or even if one exists, so ping will have to do!). @Carreau good plan, I recall frequently coming to |
As a side note, I've been contemplating for a little while trying to write a hotkey-rebinder extension, which could be used to neatly rebind any named actions (calling javascript extensions without named actions is obviously a bit more difficult). I'll post back here if/when I get round to it. |
I have opened Carreau#6 with some improvements to this. |
English fixes and update description of installing and activating extensions
Merged. |
@@ -0,0 +1,138 @@ | |||
Custom front-end extesions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extensions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Start documenting how to write frontend extensions
A little bit late, but LGTM, please also check this which is closely related: jupyter/enhancement-proposals#7 |
So, as far as altering keyboard shortcuts goes, I made this nbextension. It doesn't do CodeMirror shortcuts yet, as they seem more complicated, but I expect it could. |
This if course require more work, but the request for custom key binding
is too high, and the process of writing extensions too widespread on the
internet.
This is the base to write an extension, @michaelpacer requested on a private communication how to also bind
^[
to go-to-command-mode / Esc, I''m writing that to see if it's sufficient information.@michaelpacer I'll give you push access to my fork, so that you can update the PR if there are issues, and fix english mistakes that will make you eyes bleed. If it's unclear I can also update the relevant part. We can hopefully reach quickly an acceptable state.
@JanSchulz , @damianavila and @juhasch also write a lot of extensions and might want to give their input on that.