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. command is a shell template, e.g. "code ." or "nvim .". The trailing . (or any .) in the command is replaced by the actual path.