This is the generic
Open method. Opens files and directories too. Resolves to the opened URI.
Except when you are on either Windows or Linux
AND running in electron. If so, it opens a file.
Opens a file after prompting the
Open File dialog. Resolves to
Otherwise, resolves to the URI of the file.
Opens one or more folders after prompting the
Open Folder dialog. Resolves to
Otherwise, resolves to the URI of the new workspace:
Opens a workspace after raising the
Open Workspace dialog. Resolves to the URI of the recently opened workspace,
if it was successful. Otherwise, resolves to
Get the current workspace URI.
the current workspace URI.
whether the file was successfully saved.