INim icon indicating copy to clipboard operation
INim copied to clipboard

Autocompletion

Open alehander92 opened this issue 6 years ago • 6 comments

Based on TAB, linenoise should have this functionality, one should be able to somehow call nimsuggest , but for the first implementation, just a set with all the defined names in the active session should be fine.

If that seems useful, I can implement it

alehander92 avatar Jun 11 '18 09:06 alehander92

This is how bpython does it:

image

timotheecour avatar Jul 05 '18 07:07 timotheecour

Very useful, in my opinion.

misolietavec avatar Jul 11 '18 08:07 misolietavec

This seems like a great addition, are you interested in trying a fix, @alehander92? I'm maintaining the project now, so new releases are now happening :-)

0atman avatar Apr 07 '20 20:04 0atman

The autocomplete is among the top reasons I use REPLs. It allows me to explore libraries and learn their API.

NightMachinery avatar Jul 31 '20 20:07 NightMachinery

Is this a WIP? Tried inim for the first time Today and not sure if it's already there

jmgomez avatar May 09 '22 14:05 jmgomez

I'd say probably a planned feature, we'd welcome PRs!

0atman avatar May 09 '22 15:05 0atman