[R-SIG-Mac] UI suggestion: allow a tab with no more suggestions to fill in "$"
Simon Urbanek
simon.urbanek at r-project.org
Tue May 24 01:59:26 CEST 2016
Tim,
but how should be determine that you want $? If it's a matrix, maybe you want [ ... if it's a function maybe you want ( ... it looks like a hornet's nest to me, but if you provide logic, we may be able to code it up ;)
Cheers,
Simon
On May 20, 2016, at 8:08 AM, Timothy Bates <tim.bates at ed.ac.uk> wrote:
>
> Like most of us I am sure, I use the tab completion system a lot, not just to complete object names, but to pick from the drop-list created when one hits tab after a $ sign.
>
> Current situation to get to "object$part1$level2” the user currently has to type:
> 1. "obj→" (completed to "object")
> 2. Type "$→" and pick part1
> 3. Type "$→" and pick level2
>
> Suggestion: make a second "tab" press fill in the $-sign. That would reduce the above to:
> 1. "obj→" (completed to "object")
> 2. Type "→ →" and pick part1
> 3. Type "→ →" and pick level2
>
> MUCH quicker, as the dollar sign involves lifting finger off tab key, hitting (for English) shift-4 (a two hand operation, or an awkward one-hand stretch), then moving back to the tab key.
>
> Users of the @ accessor might feel left out - perhaps give them shift-tab :-)
>
> PS: Still be nice bump up the font size in the bottom tool-tip bar, if only back to the old physical height (or perhaps just re-use the RStudio tool-tip completion system)
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
More information about the R-SIG-Mac
mailing list