GetWorkSpaceFoldersInfo

Function GetWorkSpaceFoldersInfo 

Source
pub fn GetWorkSpaceFoldersInfo() -> ActionEffect<Arc<dyn WorkSpaceProvider>, CommonError, Vec<(Url, String, usize)>>
Expand description

Creates an effect that, when executed, will retrieve information about all currently open workspace folders.

It uses the WorkSpaceProvider capability from the environment to perform the operation.

§Returns

An ActionEffect that resolves with a Vec of tuples, where each tuple contains the folder’s Url, its name as a String, and its zero-based index.