Closed rgbkrk closed 8 years ago
Is the idea that the up/down arrow would cycle through help? I like it!
Is the idea that the up/down arrow would cycle through help? I like it!
Yup!
The introspection bits come back as a mimebundle while the tab completion is a list.
Sweet ! Can you add the line we are completing above ? I like something like the following where |
is the cursor.
numpy.hitog #missing `s` on purpose
and the completion would actually show in bold what have been matched.
histogram(a, bins=10, range=None, normed=False, weights=None, density=None)
And would show (when possible) the function signature, even if it does not insert it. That would be useful for julia, where the "help" pard depend on the types of the arguments.
and the completion would actually show in bold what have been matched.
Ooooh I like that a lot!
Added the line in above, though not in the graphic itself.
Extra: The completion mechanisme should be able to hint at a cursor position/selection after the completion is picked. Example, where |
are the position of the anchor and head of the selection:
np.histogram(x, y, b<tab>)
np.histogram(x, y, bins=|50|)
Can we do that with the current message spec?
Metadata Babe.
On Tue, Apr 19, 2016 at 9:16 PM, Kyle Kelley notifications@github.com wrote:
Can we do that with the current message spec?
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/nteract/mocks/pull/7#issuecomment-212074632
Ah yeah, I want that too @Carreau.
I just realized that now Chrome dev tool also completer from history with a chevron icon, which is damned useful:
Oooh, yeah I saw that too. Chevron for "you previously used this at the console" and the others for active completions.
Combines introspection and tab completion in a unified menu.