pub fn ParseWorkspaceFolders() -> Vec<PathBuf>Expand description
Parse workspace folder paths from CLI / env with the following precedence:
- Every
--folder <path>pair on the command line (repeatable). - Any non-flag positional argument that resolves to an existing directory (convention used when the user drags a folder onto the app).
Openenv var (colon-separated on POSIX,;-separated on Windows to match the platform’s PATH delimiter).- The current working directory, if no other source is available AND
Walkisn’t set tofalse.
Returned paths are canonicalised; non-existent / non-directory entries are dropped with a warning.