Closed moodymudskipper closed 4 years ago
not so useful, putting on hold
I still don't know how to do the "no selection" part with rstudioapi, but I think addin might be useful because :
flow_run()
)done!
first tries to see if selection is a path, using file.exists, then if it's a symbol, eval and treat as function, else treat as script
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
We can select code and pressing hotkeys will display the chart, we can have heuristics decide what to display, but probably a menu with multiple choices is acceptable in some cases:
if selection, no menu
{
or a control flow construct, show the relevant chartif no selection, we might have several choices :
{}
directly containing the cursor