.set_vsc_setting | R Documentation |
Set VSC workspace settings
.set_vsc_setting(
nm,
val_or_fn,
path_to_settings = here::here(".vscode/settings.json"),
update = TRUE,
create = TRUE,
...
)
nm |
character vector. Elements in JSON file to adjust. |
val_or_fn |
what to change the element to. If anything other than a function, then the list element simply changes to this. If a function, then it is the function to apply to matching elements. For functions passed to elements with pre-existing values, the first argument takes that pre-existing value. |
update |
logical.
If |
create |
logical.
If |
... |
Passed on to fn. |
character |
file.
Path to the VSC settings file to edit.
Default is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.