Skip to content

Commit

Permalink
Update r.rmarkdown.codeLensCommands
Browse files Browse the repository at this point in the history
Use an enum to restrict the input for the setting: r.rmarkdown.codeLensCommands
  • Loading branch information
ElianHugh committed Jul 11, 2022
1 parent c7410c4 commit 273617d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1327,7 +1327,19 @@
"r.libPaths": {
"type": "array",
"items": {
"type": "string"
"type": "string",
"enum": [
"r.selectCurrentChunk",
"r.runCurrentChunk",
"r.runAboveChunks",
"r.runCurrentAndBelowChunks",
"r.runBelowChunks",
"r.runAllChunks",
"r.runPreviousChunk",
"r.runNextChunk",
"r.goToPreviousChunk",
"r.goToNextChunk"
]
},
"default": [],
"markdownDescription": "Additional library paths to launch R background processes (R languageserver, help server, etc.). These paths will be appended to `.libPaths()` on process startup. It could be useful for projects with [renv](https://rstudio.github.io/renv/index.html) enabled."
Expand Down

0 comments on commit 273617d

Please sign in to comment.