jalvesaq / Nvim-R

Vim plugin to work with R
GNU General Public License v2.0
968 stars 125 forks source link

FR: a couple of useful features for debugging as in RStudio: show function in new window and its environment in object browser #771

Closed iago-pssjd closed 9 months ago

iago-pssjd commented 1 year ago

Hi,

For one time I will ask for a feature RStudio has when debugging a function. See at next image: rstudio

  1. On one hand, in the files pane is displayed a new tab with the involved function displayed and the code to be executed highlighted. In the same way, this (or something like this, not need highlighting, although it is useful) may be done in a new vim window like object browser or help or even in a new vim tab.
  2. On the other hand, in the environment pane the environment of the involved function is displayed. So this would be done in the object browser window.
jalvesaq commented 1 year ago

A pull request for this would be great! Alternatively, it could be even better if it were possible to integrate Nvim-R with these other projects:

Anyway, I don't plan to work on debugger features any time soon. So, again, a pull request would be welcome.

iago-pssjd commented 1 year ago

Thanks for answer. VSCode-R-Debugger seems nice (although my experience trying to use VSCode for coding R is that never and nothing works. For such king of things I also use NVim-R... [huge thanks for the plugin @jalvesaq])

Unfortunately, I have no knowledge of ViM for a pull request. Let's see if others or later.

jalvesaq commented 10 months ago

The plan is to use Lua for new features: https://github.com/jalvesaq/Nvim-R/discussions

iago-pssjd commented 10 months ago

Thanks for the info. On my side, as a (pure) ViM user, I will keep using the current or freezed NVim-R derived for ViM, but thanks for all your work!

jalvesaq commented 9 months ago

Thanks for understanding! The new project will be inaugurated in a week at the R-nvim organization.