Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Users should have autocompletion in the notebook #437

Closed
certik opened this Issue · 8 comments

4 participants

@certik

Or "ctrl+space" completion, as there might be some problems with TABs in browsers. So we should start with ctrl+space to make it work, and fiddle with possible TAB problems later, that should be just javascript thing.

@ellisonbg
Owner

The big problem with keyboard shortcuts is finding combinations that are not taken by the OS or browser itself. But it would be easier if TAB completion were triggered by something other than TAB.

@certik

ctrl+space is actually a default shortcut in many IDEs for tab completion, as well as in codemirror:

http://codemirror.net/demo/complete.html

so let's go with ctrl+space and be done with this issue. And implement TAB maybe later, or maybe never.

@asmeurer

I vote for TAB working.

@ellisonbg
Owner

I agree that I want TAB to work, but I am not sure that is going to be easy to pull off as there are multiple meanings for TAB even without using it for completion. Browsers use it to TAB between elements in the page and code/text editor elemets use it for inserting a tab stop (4 spaces). That is already a lot for a single key.

@jasongrout
Owner

If you eventually want to use codemirror for syntax highlighting of code cells, it might be best to implement ctrl+space for now. So +0 for ctrl+space.

@ellisonbg ellisonbg was assigned
@ellisonbg
Owner

Done in the htmlnotebook branch.

@ellisonbg
Owner

Done.

@ellisonbg ellisonbg closed this
@certik

Cool! I will give it a shot soon, and I'll update Qsnake with the latest ipython + htmlnotebook branch.

@damianavila damianavila referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.