Skip to main content

MountainWorkspaceCloseAllFolders

Function MountainWorkspaceCloseAllFolders 

Source
pub async fn MountainWorkspaceCloseAllFolders(
    app_handle: AppHandle,
    state: State<'_, Arc<ApplicationState>>,
) -> Result<Value, String>
Expand description

Close every workspace folder - equivalent to VS Code’s workbench.action.closeFolder. Extensions that subscribe to onDidChangeWorkspaceFolders receive an event whose removed array contains every previously-open folder.