Skip to content

Update README: Add options(vsc.helpPanel = ...)#461

Merged
renkun-ken merged 1 commit intoREditorSupport:masterfrom
kar9222:update-readme-helpPanel
Nov 24, 2020
Merged

Update README: Add options(vsc.helpPanel = ...)#461
renkun-ken merged 1 commit intoREditorSupport:masterfrom
kar9222:update-readme-helpPanel

Conversation

@kar9222
Copy link
Copy Markdown
Contributor

@kar9222 kar9222 commented Nov 23, 2020

What problem did you solve?
Update README.md for options(vsc.helpPanel = "Two" | "Active" | "Beside" | FALSE)

(If you have)Screenshot
No

(If you do not have screenshot) How can I check this pull request?
Run the codes in terminal and check how the help panel opens up e.g. current editor or 2nd editor group

# Default
getOption('vsc.helpPanel')
# NULL
?mean
# Help panel opens in the 2nd editor group 

options(vsc.helpPanel = 'Active')
?mean
# Help panel opens in current editor

options(vsc.helpPanel = 'Two')
?mean
# Help panel opens in current editor

options(vsc.helpPanel = 'Beside')
?mean
# Help panel shows besides the current editor

options(vsc.helpPanel = FALSE)
?mean
# Disable help panel and revert to old behaviour 

Comment thread README.md

The session watcher allows RStudio addins to be executed via an `{rstudioapi}` emulation layer.

To enable this feature, set `options(vsc.rstudioapi = TRUE)` in your .Rprofile.
Copy link
Copy Markdown
Contributor Author

@kar9222 kar9222 Nov 23, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't know about this when I edited the README.md. This was done automatically by VSCode with my settings.json editor.trimAutoWhitespace: true

@renkun-ken renkun-ken merged commit 5d4b0aa into REditorSupport:master Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants