Documentation update request cntl-I key

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
evbaarle
Posts: 6
Joined: Mon Mar 13, 2017 6:43 am

Documentation update request cntl-I key

Post by evbaarle » Tue Sep 19, 2017 5:30 am

Hi,

could someone update the documentation regarding the function of the cntl+I key combination in REPL-mode giving a list of all the globals?
I think it is a very usefull feature that every micropython user should be aware of.

Regards, Erik

User avatar
deshipu
Posts: 1347
Joined: Thu May 28, 2015 5:54 pm

Re: Documentation update request cntl-I key

Post by deshipu » Tue Sep 19, 2017 7:42 am

You can submit a pull request yourself!

mwm
Posts: 36
Joined: Wed Aug 09, 2017 3:52 pm

Re: Documentation update request cntl-I key

Post by mwm » Tue Sep 19, 2017 2:56 pm

But the current document says that hitting Control-I (only spelled TAB) will auto-complete any currently typed name against the globals, and print options if there's more than one possible completion. That's exactly what you're describing.

Possibly this could be made clearer in some way, with an example or by noting that Control-I is TAB.

evbaarle
Posts: 6
Joined: Mon Mar 13, 2017 6:43 am

Re: Documentation update request cntl-I key

Post by evbaarle » Fri Sep 22, 2017 5:48 am

Hi,

@mwm: I never realised that cntl-I is the same as tab, was just trying all cntl+key combinations.
Maybe still good the inform the users that you can 'auto-complete' an empty line to get a list of the globals by pressing tab as this is not very intuitive (for me).

@deshipu: I don't have a build system installed, need to upgrade my pc first...

regards, Erik

User avatar
deshipu
Posts: 1347
Joined: Thu May 28, 2015 5:54 pm

Re: Documentation update request cntl-I key

Post by deshipu » Fri Sep 22, 2017 7:08 am

You don't need to build anything to update documentation. You can do it even right there in the browser.

Kelly Petersen
Posts: 4
Joined: Thu Apr 19, 2018 7:10 am

Re: Documentation update request cntl-I key

Post by Kelly Petersen » Thu Apr 19, 2018 7:55 am

Does this work for all globals?

Post Reply