REditorSupport / vscode-R

R Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=REditorSupport.r
MIT License
1.06k stars 125 forks source link

Data/help viewer opening in a browser? #1222

Closed PMassicotte closed 10 months ago

PMassicotte commented 1 year ago

Is your feature request related to a problem? Please describe. Not an issue per se, but would it be possible to have the data/help viewer opening in a separate web browser, as it is already possible with graphics? I think it would be useful if you are working on a multi-monitor setup.

Describe the solution you'd like See my previous point.

Describe alternatives you've considered N/A

Additional context N/A

Thank you!

ElianHugh commented 1 year ago

Should be a simple change -- I can look into this tonight

ElianHugh commented 1 year ago

Sorry -- didn't end up getting a chance to work on this. Had a closer look and it'll take a bit more effort than I anticipated, but should still be doable

PMassicotte commented 1 year ago

Looking forward it :)

jooyoungseo commented 1 year ago

There are already some related options that you can put in .Rprofile:

# Use an external browser for displaying html files, such as {gt} and {xaringan}
options(vsc.viewer = FALSE)
# External browser for web apps, such as {shiny}
options(vsc.browser = FALSE)
# View help page in an external browser
options(vsc.helpPanel = FALSE)
# Use original data viewer
options(vsc.view = FALSE)
jooyoungseo commented 1 year ago

@ElianHugh -- I think it would be easier for users to manage these options through extension settings instead of .Rprofile directly like we do for httpgd option.

PMassicotte commented 1 year ago

Just tried it and I noticed that the data viewer opens in a separate window where I can not filter, scroll the data. Any ways to make the view dynamics?

image

ElianHugh commented 1 year ago

That is the default R viewer window (see https://www.rdocumentation.org/packages/utils/versions/3.6.2/topics/View). The vscode-R dataviewer doesn't currently support non-webview usecases

github-actions[bot] commented 10 months ago

This issue is stale because it has been open for 365 days with no activity.

github-actions[bot] commented 10 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.