trentm / go-tool

Automatically exported from code.google.com/p/go-tool
Other
10 stars 8 forks source link

feature request: add auto-completion capability #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
A nice feature to add would be the ability for go to autocomplete the shortcut 
name so that if you have a shortcut named g1 and another named g2 you can hit 
tab after typing "go g" and have it prompt with "g1 g2".

Similarly, you could extend the auto-completion beyond the shortcut name once a 
/ has been typed so that you can autocomplete the subfolder name. An example 
voudl be a shortcut name (say) "vcs" with subfolders (say) "services", "bs" and 
"signal". When the user types "go vcs/" and then hits TAB the autocomplete 
kicks in and show the names of relevant folders. In this case it would hint 
with "bs services signal". Naturally, this feature is only useful if the 
completion goes all the way down the file tree for that hitting TAB after 
typing "go vcs/a/b/c/d/e/f/" does autocompletion for folders in the f folder.

Original issue reported on code.google.com by gjmi...@gmail.com on 28 Jul 2010 at 3:16

GoogleCodeExporter commented 9 years ago
Just came to file this request and its already here!. If you could publish a 
.bashrc recipe for this then you can probably not ship it with go-tool

Original comment by moweitz...@gmail.com on 21 Dec 2010 at 1:50