Skip to content
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

Merged
merged 4 commits into from
Dec 1, 2015

Conversation

Carreau
Copy link
Member

@Carreau Carreau commented Nov 25, 2015

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.

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.
@juhasch
Copy link
Contributor

juhasch commented Nov 25, 2015

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 ?

@jcb91
Copy link
Contributor

jcb91 commented Nov 27, 2015

@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
your docs on extensions after trying to google how to alter some notebook behaviour.
I'd be happy to contribute some time to improve/extend/update docs.
Would you prefer comments on here, or PRs to your fork?

@jcb91
Copy link
Contributor

jcb91 commented Nov 27, 2015

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.

@takluyver
Copy link
Member

I have opened Carreau#6 with some improvements to this.

English fixes and update description of installing and activating extensions
@Carreau
Copy link
Member Author

Carreau commented Nov 30, 2015

I have opened Carreau#6 with some improvements to this.

Merged.

@@ -0,0 +1,138 @@
Custom front-end extesions
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extensions

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@minrk minrk changed the title Start documenting how to write font end extensions Start documenting how to write frontend extensions Dec 1, 2015
@minrk minrk added this to the 4.1 milestone Dec 1, 2015
minrk added a commit that referenced this pull request Dec 1, 2015
Start documenting how to write frontend extensions
@minrk minrk merged commit addc7eb into jupyter:master Dec 1, 2015
@damianavila
Copy link
Member

A little bit late, but LGTM, please also check this which is closely related: jupyter/enhancement-proposals#7

@jcb91
Copy link
Contributor

jcb91 commented Dec 31, 2015

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.

@Carreau Carreau deleted the document-extensions branch April 14, 2016 13:54
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants