Users should have autocompletion in the notebook #437

Closed
certik opened this Issue May 13, 2011 · 8 comments

Projects

None yet

4 participants

@certik
certik commented May 13, 2011

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
Member

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
certik commented May 13, 2011

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
Member

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
Member

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 May 17, 2011
@ellisonbg
Member

Done in the htmlnotebook branch.

@ellisonbg
Member

Done.

@ellisonbg ellisonbg closed this Jul 27, 2011
@certik
certik commented Jul 27, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment