Skip to main content

open_in_editor

Function open_in_editor 

Source
pub fn open_in_editor(path: &Path, command: &str) -> Result<()>
Expand description

Open the workspace path in the configured editor.

ยงErrors

Returns an error if the workspace path is not valid UTF-8 or the editor command fails to spawn.