| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This page details the settings of vscode-R that can be set in VSCode's settings.json file.
Please also see recommend extensions and configurations, some useful keyboard shortcuts and the options for the language server's formatter and linter that are detailed here.
r.source.encoding: an optional encoding to pass to R when executing the file
r.source.focus: keeping focus when running (editor or terminal)
r.sessionWatcher: enable R session watcher
r.session.watchGlobalEnvironment: watch the global environment to provide hover, autocompletions, and workspace viewer information
r.session.levelOfObjectDetail: how much of the object to show on hover, autocompletion, and in the workspace viewer?
Details Available options:r.session.emulateRStudioAPI: emulate the RStudio API for addin support and other {rstudioapi} calls
r.session.viewers.viewColumn: which view column should R-related webviews be displayed?
r.workspaceViewer.showObjectSize: show object size when hovering over a workspace viewer item
r.workspaceViewer.clearPrompt: prompt the user for confirmation when clearing the workspace
r.rmarkdown.enableCodeLens: enable RMarkdown CodeLens, which are inline commands/buttons e.g. 'Run Chunk | Run Above' shown on the first line of each code chunk.
Detailsr.rmarkdown.codeLensCommands: Customize RMarkdown CodeLens, which are inline commands/buttons e.g. 'Run Chunk | Run Above' shown on the first line of each code chunk.
Details Available commands:r.selectCurrentChunk
r.runCurrentChunk
r.runAboveChunks
r.runCurrentAndBelowChunks
r.runBelowChunks
r.runAllChunks
r.runPreviousChunk
r.runNextChunk
r.goToPreviousChunk
r.goToNextChunk
Customize both the commands AND its orders (that is, CodeLens respect user-specified orders). Default commands:
r.runCurrentChunk
r.runAboveChunks
<Add item...>
r.rmarkdown.chunkBackgroundColor: RMarkdown chunk background color in RGBA or RGB value.
DetailsDefaults to rgba(128, 128, 128, 0.1). Leave it empty to disable it (use default editor background color). Reload VS Code after changing settings. Learn how to set colors: https://www.w3schools.com/css/css_colors_rgb.asp
Examples for syntax rgba(<red>, <green>, <blue>, <alpha>):
r.rmarkdown.preview.autoRefresh: Enable automatic refresh of R Markdown preview on file update.
The following settings could be set up to deviate from the default behavior:
| Back | FazBrowse Home | New Git URL |