You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all thanks a big thanks to all the contributors of this project. I recently started using vscode-R and it starting to be a very solid alternative to Rstudio, it is also good to see the project getting new features every week 馃憤.
I would like to submit a couple suggestions to improve the user experience with the R documentation:
Add a command r.help to vscode-R in the spirit of r.head so that the selected function name in the editor can be sent to the console with r help(<selected_text>), this would allow users to map shortcuts to it and quickly jump to the help page.
Add the possibility to copy text from the R documentation in the html viewer in order to be able to paste it into the console or the text editor (e.g. I often do this with examples, function names, argument names, etc.).
Add a search bar in the html documentation viewer.
Add a command r.help to vscode-R in the spirit of r.head so that the selected function name in the editor can be sent to the console with r help(<selected_text>), this would allow users to map shortcuts to it and quickly jump to the help page.
Add the possibility to copy text from the R documentation in the html viewer in order to be able to paste it into the console or the text editor (e.g. I often do this with examples, function names, argument names, etc.).
This is currently limited by the user operations allowed by WebView. See microsoft/vscode#65452.
Add a search bar in the html documentation viewer.
I'm not sure if it is possible to do this because the R documentation is purely provided by a http server started from R. The WebView just shows the URL triggerred by browser. It does nothing else and it even cannot know it is help documentation.
Add a black theme option to the html viewer possibly linked to the editor background color (#178).
I'm trying to figure out but I don't know a robust way to do this at the moment.
I'm trying to figure out but I don't know a robust way to do this at the moment.
Could you add such option in settings of the extensions at least by default switched off, please?
As a more solid solution, I would suggest just to create or pick existing theme which works fine and just to recommend it in description of the extension.
Activity
renkun-ken commentedon Jan 27, 2020
Thanks for your suggestions!
This looks like a special case of #201.
This is currently limited by the user operations allowed by WebView. See microsoft/vscode#65452.
I'm not sure if it is possible to do this because the R documentation is purely provided by a http server started from R. The WebView just shows the URL triggerred by
browser. It does nothing else and it even cannot know it is help documentation.I'm trying to figure out but I don't know a robust way to do this at the moment.
StepanSushko commentedon Feb 20, 2020
Could you add such option in settings of the extensions at least by default switched off, please?
As a more solid solution, I would suggest just to create or pick existing theme which works fine and just to recommend it in description of the extension.
pat-s commentedon Mar 29, 2020
It's really funny that on the one hand vscode can do SO MUCH but at the same time fails to provide search within the default HTML previewer 馃槄
renkun-ken commentedon Jun 27, 2021
Closing as the help pages are supported now.