Add list of all supported options to wiki?
We used to have a list of all supported options a user could put in the .Rprofile. I see this is no longer available in the README or wiki? Should this be brought back? Some of them are still quite useful, and not replicated by extension level settings, e.g.:
options(vsc.dev.args = list(width = , height = ))
Here's a list I fished out of the last version of README that had them:
# Watch global environemnt symbols to provide hover on and completion after session symbol.
# Only specify in .Rprofile since it only takes effect on session startup.
options(vsc.globalenv = TRUE | FALSE)
# Which view column to show the plot file on graphics update
# Use FALSE to diable plot watcher so that the default R plot device is used.
# Only specify in .Rprofile since it only takes effect on session startup.
options(vsc.plot = "Two" | "Active" | "Beside" | FALSE)
# The arguments for the png device to replay user graphics to show in VSCode.
# Ignored if options(vsc.plot = FALSE).
options(vsc.dev.args = NULL | list(width = 800, height = 600))
# Which view column to show the WebView triggered by browser (e.g. shiny apps)?
# Use FALSE to open in external web browser.
options(vsc.browser = "Active" | "Beside" | "Two" | FALSE)
# Which view column to show the WebView triggered by viewer (e.g. htmlwidgets)?
# Use FALSE to open in external web browser.
options(vsc.viewer = "Two" | "Active" | "Beside" | FALSE)
# Which view column to show the WebView triggered by page_viewer (e.g. profvis)?
# Use FALSE to open in external web browser.
options(vsc.page_viewer = "Active" | "Beside" | "Two" | FALSE)
# Which view column to show the WebView triggered by View()?
# Use FALSE for R's native View(), which should be specified in .Rprofile
# since it only takes effect on session startup.
options(vsc.view = "Two" | "Active" | "Beside" | FALSE)
# Which view column to show the WebView triggered by help panel
# (e.g. after sending `?mean` to terminal)?
# Use FALSE to disable help panel and revert to old behaviour.
options(vsc.helpPanel = "Two" | "Active" | "Beside" | FALSE)
# How much of the object to show on hover and autocomplete detail?
# As controlled by max.level arg of str().
# Use 0 (or 1) is the default - literal value or object type and dimensions
# Use 2 to show list contents, data frame columns, and example values.
options(vsc.str.max.level = 0 | 2 )
# Show object size in the workspace viewer tooltip
# The R session could become laggy if there are large character vectors in
# objects in the global environment when this option is `TRUE`.
options(vsc.show_object_size = FALSE | TRUE)
# Use the httpgd-based plot viewer.
# Requires the R package `httpgd` to be installed.
options(vsc.use_httpgd = FALSE | TRUE)
I believe the majority of options are also referenced here: https://github.com/REditorSupport/vscode-R/blob/0a4149440065940f2a24b9104b437c080971c447/R/session/vsc.R#L22=
Hi @MilesMcBain, I've thrown together a list of R options here. I haven't done anything fancy just yet, but I'll try to get this fleshed out a bit more :)
This issue is stale because it has been open for 365 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.