use_vscode | R Documentation |
This creates a .vscode
folder (if needed) and populates it with a
settings.json
template. If already exists, it will be updated to include
the rust-analyzer.linkedProjects
setting.
use_vscode(quiet = FALSE, overwrite = FALSE)
use_positron(quiet = FALSE, overwrite = FALSE)
quiet |
If |
overwrite |
If |
Rust-Analyzer VSCode extension looks for a Cargo.toml
file in the
workspace root by default. This function creates a .vscode
folder and
populates it with a settings.json
file that sets the workspace root to
the src
directory of the package. This allows you to open the package
directory in VSCode and have the Rust-Analyzer extension work correctly.
TRUE
(invisibly) if the settings file was created or updated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.