moodymudskipper / debugverse

Brainstorming ideas for debugging workflow and tools, not a package (yet ?)
1 stars 0 forks source link

autocomplete anything #9

Open moodymudskipper opened 2 years ago

moodymudskipper commented 2 years ago

$ has a nice autocomplete, which we can hack.

ac will be an active binding that checks all available objects that are named or character objects

ac$iris$ will propose the col names for instance. In the case of a char vector we propose the content + the names if available

The printing method uses rstudio api to replace the call with the chosen completion

even if no partial match we consider the close result using string distance