Skip to main content

write_vscode

Function write_vscode 

Source
pub fn write_vscode(
    directory: &Path,
    force: bool,
    port: u16,
) -> Result<Vec<PathBuf>, String>
Expand description

litz editor --vscode: write or merge the editor files for directory.

Without force, any existing launch.json or tasks.json is refused rather than replaced. With force, the Litz entries are merged into the existing documents, so unrelated configurations and tasks survive.