HenrikBengtsson / Wishlist-for-R

Features and tweaks to R that I and others would love to see - feel free to add yours!
https://github.com/HenrikBengtsson/Wishlist-for-R/issues
GNU Lesser General Public License v3.0
134 stars 4 forks source link

.DollarNames auto completion inside brackets #129

Open karoliskoncevicius opened 2 years ago

karoliskoncevicius commented 2 years ago

R provides auto-completion for list names:

iris$Sp<tab>
iris$Species

But this does not work within square brackets:

iris[iris$Sp<tab>]
iris[iris$Sp]

Even thou regular auto-completion works fine:

iris[ir<tab>]
iris[iris]

Also auto-completion works when the argument is wrapped inside round brackets:

iris[(iris$Sp<tab>)]
iris[(iris$Species)]

Wish: make .DollarNames auto-completion work within square brackets.