Tab Completion

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

Tab Completion

by Evergreen » Mon Aug 24, 2015 18:20

I recently saw this feature request on github, and thought it deserved some more attention. Tab completion is something I miss a lot, considering that it takes quite a while to type out commands (such as /grant singleplayer all). This would entail giving a way of adding custom completions to user defined commands. This could be in the form of a function which given a string to complete, returns a list of possible completions. Any ideas on this would be welcome.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: Tab Completion

by everamzah » Mon Aug 24, 2015 18:48

Tab completion on /give and /giveme for item strings would be amazing.
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

Re: Tab Completion

by philipbenr » Tue Aug 25, 2015 05:54

TAB COMPLETION IS THE BEST!!!

Sorry, I really love it, and it is the best way to get around a terminal or command prompt. I still occasionally do it in text editors... The hit myself for being so oblivious. #JustLinuxThings
 

User avatar
lightonflux
Member
 
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof

Re: Tab Completion

by lightonflux » Tue Aug 25, 2015 20:41

/me subscribed to the issue

A history feature would also help. So you can cycle through previous commands with arrow up and down.
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

Re: Tab Completion

by Sokomine » Tue Aug 25, 2015 21:12

The console started with F10 already comes with a history. It also has some level of tab-autocompletition; at least it does work for player names most of the time. What is typed in the normal chat window does not show up there.
A list of my mods can be found here.
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: Tab Completion

by everamzah » Tue Aug 25, 2015 22:58

I still try to hit tilde. The chat input dialog, if it were linked to the console, you would get the tab-complete and history features automatically.
 

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: Tab Completion

by Don » Wed Aug 26, 2015 01:34

I would like it if the console(t) and f10 were linked.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

Re: Tab Completion

by philipbenr » Wed Aug 26, 2015 03:02

Yeah. Or you could change the key binding from F10 to something else, like Y or Alt or somewhere easier to reach with your thumb/fingers.
 


Return to Minetest Features

Who is online

Users browsing this forum: Google [Bot] and 21 guests

cron