Could this be done by raising a menu of available aesthetics upon clicking the aes keyword? Or should the aesthetics array contain a grey + sign, just like the final row of the syntax, like so: aes(x = cat +)?
The second solution (aes(x = cat (+))) seems the most feasible. The (+) needs to not be included on copy. The same goes for the corner case where the user wants to manually copy-paste her code.
It must be possible to add and remove aesthetics.
Could this be done by raising a menu of available aesthetics upon clicking the
aes
keyword? Or should the aesthetics array contain a grey+
sign, just like the final row of the syntax, like so:aes(x = cat +)
?