Settings reference

July 24, 2026 · View on GitHub

Every raven.* setting Raven reads, in one alphabetical table. Most are exposed through the VS Code Settings UI; a handful of advanced server-side knobs are LSP-init-only (still readable from raven.toml). For narrative explanations of each surface, follow the Docs link on a row. For how raven.toml layering works, see Configuration.

The raven.toml path column shows where to set a key in a project's raven.toml. A means the setting is not read from raven.toml; most such settings are VS Code-client-only, and LSP-client-only exceptions say so in their descriptions.

SettingDefaultType / Allowed valuesraven.toml pathDocsDescription
raven.chunks.activeCellIndicatortruebooleanchunksIn .R files using # %% cell mode, draw a top and bottom border around the cell containing the cursor (Jupyter-style).
raven.chunks.codeLens.commands["raven.runCurrentChunk","raven.runNextChunkAndMove","raven.runAboveChunks"]array of ("raven.runCurrentChunk" | "raven.runCurrentChunkAndMove" | "raven.runAboveChunks" | "raven.runCurrentAndBelowChunks" | "raven.runBelowChunks" | "raven.runPreviousChunk" | "raven.runPreviousChunkAndMove" | "raven.runNextChunk" | "raven.runNextChunkAndMove" | "raven.runAllChunks")chunksOrdered list of run commands shown as CodeLens buttons above every R chunk header.
raven.chunks.highlight.enabledtruebooleanchunksHighlight R code chunks in .Rmd / .Rmarkdown / .qmd files (and # %% cells in .R files) with a background color.
raven.completion.triggerOnOpenParentruebooleancompletion.triggerOnOpenParencompletionTrigger parameter completions when typing '(' after a function name.
raven.crossFile.assumeCallSite"end""start" | "end"crossFile.assumeCallSitecross-fileDefault call site assumption when the actual source() call location cannot be determined.
raven.crossFile.backwardDependencies"auto""auto" | "explicit"crossFile.backwardDependenciescross-fileControls how Raven discovers files that source the current file. 'auto' scans the workspace, and 'explicit' requires # raven: sourced-by directives (the @lsp-sourced-by alias also works).
raven.crossFile.cache.existenceMaxEntries2000number (≥100)crossFile.cache.existenceMaxEntriescross-fileMaximum file existence check results cached.
raven.crossFile.cache.fileContentMaxEntries500number (≥50)crossFile.cache.fileContentMaxEntriescross-fileMaximum file contents cached for cross-file resolution.
raven.crossFile.cache.metadataMaxEntries1000number (≥100)crossFile.cache.metadataMaxEntriescross-fileMaximum entries in the metadata cache.
raven.crossFile.cache.workspaceIndexMaxEntries5000number (≥100)crossFile.cache.workspaceIndexMaxEntriescross-fileMaximum closed files in the cross-file workspace index.
raven.crossFile.caseMismatchSeverity"auto""auto" | "error" | "warning" | "information" | "info" | "hint" | "off"crossFile.diagnostics.caseMismatchcross-fileSeverity for the source-path-case-mismatch diagnostic when a source() call, forward directive, or backward directive (# raven: sourced-by etc.) resolves only by a case difference from the real filename.
raven.crossFile.circularDependencySeverity"error""error" | "warning" | "information" | "info" | "hint" | "off"crossFile.circularDependencySeveritycross-fileSeverity level for diagnostics when circular dependencies are detected between files.
raven.crossFile.editedFileDebounceMs50number (≥0)crossFile.editedFileDebounceMscross-fileDebounce delay in milliseconds before re-running diagnostics on the actively-edited file.
raven.crossFile.hoistGlobalsInFunctionstruebooleancrossFile.hoistGlobalsInFunctionscross-fileHoist global definitions inside function bodies so callers see late-binding semantics across files.
raven.crossFile.indexWorkspacetruebooleancrossFile.indexWorkspacecross-fileEnable workspace indexing for cross-file awareness.
raven.crossFile.maxBackwardDepth10number (≥1)crossFile.maxBackwardDepthcross-fileMaximum depth for backward traversal when resolving cross-file dependencies.
raven.crossFile.maxChainDepth64number (≥1)crossFile.maxChainDepthcross-fileMaximum total chain depth for cross-file dependency resolution.
raven.crossFile.maxChainDepthSeverity"warning""error" | "warning" | "information" | "info" | "hint" | "off"crossFile.maxChainDepthSeveritycross-fileSeverity level for diagnostics when the maximum chain depth is exceeded during cross-file dependency resolution.
raven.crossFile.maxForwardDepth10number (≥1)crossFile.maxForwardDepthcross-fileMaximum depth for forward traversal when resolving cross-file dependencies.
raven.crossFile.maxRevalidationsPerTrigger10number (≥1)crossFile.maxRevalidationsPerTriggercross-fileMaximum number of dependent files to revalidate when a file changes.
raven.crossFile.maxTransitiveDependentsVisited50000number (≥1)crossFile.maxTransitiveDependentsVisitedcross-fileMaximum number of files Raven visits while traversing the cross-file dependency graph for dependent revalidation, package-scope snapshots, and open-neighborhood pinning.
raven.crossFile.missingFileSeverity"warning""error" | "warning" | "information" | "info" | "hint" | "off"crossFile.diagnostics.missingFilecross-fileSeverity level for diagnostics when a sourced file cannot be found.
raven.crossFile.onDemandIndexing.enabledtruebooleancrossFile.onDemandIndexing.enabledcross-fileEnable on-demand indexing of files not currently open in the editor.
raven.crossFile.outOfScopeSeverity"warning""error" | "warning" | "information" | "info" | "hint" | "off"crossFile.outOfScopeSeveritycross-fileSeverity level for diagnostics when symbols are used before they are available in scope.
raven.crossFile.redundantDirectiveSeverity"hint""error" | "warning" | "information" | "info" | "hint" | "off"crossFile.redundantDirectiveSeveritycross-fileSeverity level for diagnostics when a # raven: source directive (or its permanent @lsp-source alias), without line=, targets the same file as an earlier source() call.
raven.crossFile.revalidationDebounceMs200number (≥0)crossFile.revalidationDebounceMscross-fileDebounce delay in milliseconds before triggering cross-file revalidation after a file change.
raven.dataViewer.defaultDigits3integer (0–15)data-viewerInitial digits used by the data viewer's Format toggle.
raven.dataViewer.maxStoredLayouts10000integer (≥0)data-viewerMaximum number of persisted column-layout entries (per panel name × schema hash) before LRU eviction.
raven.dataViewer.missingValueStyle"foreground""foreground" | "background" | "none"data-viewerHow the data viewer highlights NA / NaN cells.
raven.dataViewer.persistFilterstruebooleandata-viewerPersist the data viewer's active row filters per panel name × schema hash so a later View() call restores them.
raven.dataViewer.persistSorttruebooleandata-viewerPersist the data viewer's active row sort per panel name × schema hash so a later View() call restores it.
raven.diagnostics.conditionAssignmentSeverity"warning""error" | "warning" | "information" | "info" | "hint" | "off"diagnostics.conditionAssignmentSeveritydiagnosticsSeverity for the condition-assignment diagnostic.
raven.diagnostics.enabledtruebooleandiagnostics.enableddiagnosticsEnable or disable all diagnostics.
raven.diagnostics.maxSyntaxDiagnosticsPerFile500integer (≥0)diagnostics.maxSyntaxDiagnosticsPerFilediagnosticsMaximum native Tree-sitter syntax diagnostics retained per Stan or JAGS/BUGS file after exact deduplication and source ordering; set to 0 for unlimited, and note that this cap does not apply to R diagnostics.
raven.diagnostics.mixedLogicalSeverity"warning""error" | "warning" | "information" | "info" | "hint" | "off"diagnostics.mixedLogicalSeveritydiagnosticsSeverity for the mixed-logical diagnostic.
raven.diagnostics.reportUnusedSuppressionsfalsebooleandiagnostics.reportUnusedSuppressionsdiagnosticsReport every suppression directive that suppressed nothing as an unused-suppression hint, not just # raven: expect[...] directives.
raven.diagnostics.undefinedVariableInBracketIndicestruebooleandiagnostics.undefinedVariableInBracketIndicesdiagnosticsWhether undefined-variable diagnostics descend into bracket index expressions (e.g. df[i, ], lst[[k]]).
raven.diagnostics.undefinedVariableInCallArgumentstruebooleandiagnostics.undefinedVariableInCallArgumentsdiagnosticsWhether undefined-variable diagnostics descend into ordinary function-call arguments (e.g. paste(x)).
raven.diagnostics.undefinedVariableSeverity"warning""error" | "warning" | "information" | "info" | "hint" | "off"diagnostics.severity.undefinedVariablediagnosticsSeverity level for diagnostics when a variable is used but not defined in the current scope, sourced files, or loaded packages.
raven.editor.dotInWord"yes""ask" | "yes" | "no"editor-integrationsWhether to treat . as part of a word in R and JAGS files. 'yes' (the default) treats dots as word characters by overriding editor.wordSeparators for [r] / [jags] — matching RStudio and Positron — 'no' leaves dots as separators, and 'ask' prompts on first use.
raven.help.viewerColumn"beside""active" | "beside"help-viewerInitial editor column when the R help viewer first opens.
raven.indentation.argumentStyle"aligned""aligned" | "indented" | "off"indentation.argumentStyleindentationHow syntax-aware indentation formats parenthesized argument continuations.
raven.indentation.enabledtruebooleanindentation.enabledindentationEnable syntax-aware indentation.
raven.indentation.infixContinuationStyle"aligned""aligned" | "indented" | "off"indentation.infixContinuationStyleindentationHow syntax-aware indentation formats infix-operator chain continuations.
raven.knit.export.timeoutMs120000integer (≥5000)knitTimeout (milliseconds) for the Pandoc subprocess used by Knit: Export to PDF / Word / HTML.
raven.knit.fontFamily""stringknitBody/prose font for the Raven: Knit Preview output.
raven.knit.monospaceFontFamily""stringknitMonospace font for both highlighted code chunks and bare output blocks in the Raven: Knit Preview output.
raven.knit.persistPreviewtruebooleanknitKeep the Knit Preview panel across window reloads and VS Code restarts.
raven.knit.timeoutMs600000integer (≥1000)knitHard timeout (milliseconds) for the Raven: Knit Preview subprocess.
raven.knit.workingDirectory"document""document" | "project" | "current"knitWorking directory used for knitr chunk evaluation (knitr::opts_knit$set(root.dir = ...)).
raven.linting.assignmentOperator"<-""<-" | "="linting.assignmentOperatorlintingPreferred assignment operator.
raven.linting.assignmentOperatorSeverity"information""error" | "warning" | "information" | "info" | "hint" | "off"linting.assignmentOperatorSeveritylintingSeverity for the assignment-operator lint.
raven.linting.commasSeverity"information""error" | "warning" | "information" | "info" | "hint" | "off"linting.commasSeveritylintingSeverity for the commas lint.
raven.linting.commentedCodeSeverity"information""error" | "warning" | "information" | "info" | "hint" | "off"linting.commentedCodeSeveritylintingSeverity for the commented-code lint.
raven.linting.enabled"auto""auto" | "on" | "off" | true | falselinting.enabledlinting"auto" enables linting when a .lintr or raven.toml opts in, except literal ~/.lintr is ignored unless the LSP-client setting raven.linting.readHomeLintr is true or the CLI receives --config ~/.lintr, and .lintr is ignored when REditorSupport or Positron already owns lintr diagnostics.
raven.linting.equalsNaSeverity"information""error" | "warning" | "information" | "info" | "hint" | "off"linting.equalsNaSeveritylintingSeverity for the equals-NA lint.
raven.linting.functionLeftParenthesesSeverity"information""error" | "warning" | "information" | "info" | "hint" | "off"linting.functionLeftParenthesesSeveritylintingSeverity for the function-left-parentheses lint.
raven.linting.indentationSeverity"information""error" | "warning" | "information" | "info" | "hint" | "off"linting.indentationSeveritylintingSeverity for the indentation lint.
raven.linting.indentationUnit"auto"integer (1–8) | "auto"linting.indentationUnitlintingNumber of spaces per indent level used by the indentation lint.
raven.linting.infixContinuationStyle"either""indented" | "aligned" | "either"linting.infixContinuationStylelintingHow the indentation lint treats a line that continues an end-of-line infix operator (|, +, pipes, $/@ chains).
raven.linting.infixSpacesSeverity"information""error" | "warning" | "information" | "info" | "hint" | "off"linting.infixSpacesSeveritylintingSeverity for the infix-spaces lint.
raven.linting.lineLength80integer (20–10000)linting.lineLengthlintingMaximum allowed line length for the line-length lint.
raven.linting.lineLengthSeverity"information""error" | "warning" | "information" | "info" | "hint" | "off"linting.lineLengthSeveritylintingSeverity for the line-length lint.
raven.linting.noTabSeverity"information""error" | "warning" | "information" | "info" | "hint" | "off"linting.noTabSeveritylintingSeverity for tabs used in indentation (tabs in comments, strings, or between tokens are not flagged, matching lintr).
raven.linting.objectLength30integer (5–1000)linting.objectLengthlintingMaximum allowed identifier length for the object-length lint.
raven.linting.objectLengthSeverity"information""error" | "warning" | "information" | "info" | "hint" | "off"linting.objectLengthSeveritylintingSeverity for the object-length lint.
raven.linting.objectNameRegexesArgument[]array of stringlinting.objectNameRegexesArgumentlintingAdditional regexes accepted for function formal argument names.
raven.linting.objectNameRegexesFunction[]array of stringlinting.objectNameRegexesFunctionlintingAdditional regexes accepted for function names.
raven.linting.objectNameRegexesVariable[]array of stringlinting.objectNameRegexesVariablelintingAdditional regexes accepted for variable names.
raven.linting.objectNameSeverity"information""error" | "warning" | "information" | "info" | "hint" | "off"linting.objectNameSeveritylintingSeverity for the object-name lint.
raven.linting.objectNameStyleArgument["snake_case","symbols"]"snake_case" | "camelCase" | "dotted.case" | "UPPER_CASE" | "lowercase" | "symbols" | "any" | array of ("snake_case" | "camelCase" | "dotted.case" | "UPPER_CASE" | "lowercase" | "symbols" | "any")linting.objectNameStyleArgumentlintingRequired naming scheme for function formal arguments.
raven.linting.objectNameStyleFunction["snake_case","symbols"]"snake_case" | "camelCase" | "dotted.case" | "UPPER_CASE" | "lowercase" | "symbols" | "any" | array of ("snake_case" | "camelCase" | "dotted.case" | "UPPER_CASE" | "lowercase" | "symbols" | "any")linting.objectNameStyleFunctionlintingRequired naming scheme for functions (assignments whose value is a function definition).
raven.linting.objectNameStyleVariable["snake_case","symbols"]"snake_case" | "camelCase" | "dotted.case" | "UPPER_CASE" | "lowercase" | "symbols" | "any" | array of ("snake_case" | "camelCase" | "dotted.case" | "UPPER_CASE" | "lowercase" | "symbols" | "any")linting.objectNameStyleVariablelintingRequired naming scheme for variables (assignments whose value is not a function definition).
raven.linting.quotesSeverity"information""error" | "warning" | "information" | "info" | "hint" | "off"linting.quotesSeveritylintingSeverity for the quotes lint.
raven.linting.readHomeLintrfalsebooleanlintingVS Code/LSP-client-only. Read literal ~/.lintr during project-config discovery; the CLI uses literal ~/.lintr only when passed explicitly with --config ~/.lintr.
raven.linting.semicolonSeverity"information""error" | "warning" | "information" | "info" | "hint" | "off"linting.semicolonSeveritylintingSeverity for the semicolon lint.
raven.linting.spacesInsideSeverity"information""error" | "warning" | "information" | "info" | "hint" | "off"linting.spacesInsideSeveritylintingSeverity for the spaces-inside lint.
raven.linting.stringDelimiter"\"""\"" | "'"linting.stringDelimiterlintingPreferred string-literal delimiter.
raven.linting.tAndFSymbolSeverity"information""error" | "warning" | "information" | "info" | "hint" | "off"linting.tAndFSymbolSeveritylintingSeverity for the T/F-symbol lint.
raven.linting.trailingBlankLinesSeverity"information""error" | "warning" | "information" | "info" | "hint" | "off"linting.trailingBlankLinesSeveritylintingSeverity for trailing blank lines and missing final newline at end of file.
raven.linting.trailingWhitespaceSeverity"information""error" | "warning" | "information" | "info" | "hint" | "off"linting.trailingWhitespaceSeveritylintingSeverity for trailing whitespace at end of line.
raven.linting.vectorLogicSeverity"information""error" | "warning" | "information" | "info" | "hint" | "off"linting.vectorLogicSeveritylintingSeverity for the vector-logic lint.
raven.packages.additionalLibraryPaths[]array of stringpackages.additionalLibraryPathsr-package-devAdditional library paths to search for R packages.
raven.packages.enabledtruebooleanpackages.enabledr-package-devEnable package awareness features.
raven.packages.missingPackageSeverity"warning""error" | "warning" | "information" | "info" | "hint" | "off"packages.missingPackageSeverityr-package-devSeverity level for diagnostics when a package referenced in library() cannot be found.
raven.packages.namespaceMemberSeverity"warning""error" | "warning" | "information" | "info" | "hint" | "off"packages.namespaceMemberSeverityr-package-devSeverity for diagnostics when pkg::member references a member that a complete package export set does not contain.
raven.packages.packageMode"auto""auto" | "enabled" | "disabled"packages.packageModer-package-devControls R package workspace mode.
raven.packages.rPath""stringpackages.rPathr-package-devPath to the R executable used for non-interactive subprocess calls such as package introspection and library-path discovery; if empty, Raven searches for R on the system PATH.
raven.packages.rprofilePreludetruebooleanpackages.rprofilePreluderprofileUse a workspace-root .Rprofile's top-level source()/library()/assignments as a script-scope prelude, so files where R would source .Rprofile (scripts, data-raw, non-package R/) resolve the helpers it provides.
raven.packages.watchDebounceMs500integer (100–5000)packages.watchDebounceMsr-package-devDebounce window for batching library path filesystem events, in milliseconds.
raven.packages.watchLibraryPathstruebooleanpackages.watchLibraryPathsr-package-devWatch R library paths for package install/remove events and refresh diagnostics automatically.
raven.pandoc.path""stringknitAbsolute path to a Pandoc binary; leave empty to search PATH and standard install locations (Homebrew, /usr/local/bin, RStudio's bundled pandoc, etc.).
raven.pandoc.pdfEngine"xelatex""xelatex" | "pdflatex" | "lualatex" | "tectonic" | "wkhtmltopdf"knitPDF engine used by Pandoc when exporting to PDF.
raven.plot.viewerColumn"beside""active" | "beside"plot-viewerInitial editor column when the plot viewer first opens.
raven.quarto.fontFamily""stringquartoBody/prose font for the live-themed Quarto Preview.
raven.quarto.monospaceFontFamily""stringquartoMonospace font for code in the live-themed Quarto Preview.
raven.quarto.path""stringquartoAbsolute path to a Quarto CLI binary; leave empty to search PATH and standard install locations (Homebrew, /usr/local/bin, RStudio's bundled Quarto, etc.).
raven.quarto.render.timeoutMs600000integer (1–2147483647)quartoHard timeout (milliseconds) for the Quarto render subprocess.
raven.quarto.viewerColumn"beside""active" | "beside"quartoEditor column used for newly-created Quarto preview panels.
raven.rConsole.activation"auto""enabled" | "disabled" | "auto"r-consoleControls when Raven activates its R-language IDE surfaces: the R console, plot/data viewers, chunk run commands, and the .Rmd / .Rmarkdown knit command.
raven.rTerminal.program"R""R" | "arf" | "radian"r-consoleProgram to use for the R terminal. 'R' is the standard R console; 'arf' and 'radian' are modern third-party R consoles (must be installed separately).
raven.sendToR.advanceCursorOnSendtruebooleanr-consoleAdvance cursor to the next line after sending a single statement to R.
raven.sendToR.autoTempFileThresholdLines25integer (≥2)r-consoleLine-count threshold at which auto send mode switches from pasting to writing the code to a temporary file.
raven.sendToR.sendMethod"auto""auto" | "paste" | "tempfile"r-consoleControls how Raven sends code to R.
raven.server.path""stringconfigurationPath to the raven binary; if empty, the bundled binary is used.
raven.symbols.workspaceMaxResults1000number (100–10000)symbols.workspaceMaxResultsdocument-outlineMaximum number of symbols returned by workspace symbol search (Ctrl+T / Cmd+T).
raven.trace.server"off""off" | "messages" | "verbose"configurationTrace level for the Raven language server. 'messages' shows debug output, 'verbose' shows full trace output including diagnostic decisions.