Protected ReadonlycontextProtectedcurrentProtected ReadonlyenvProtected ReadonlymessageReadonlyonProtected ReadonlyonProtectedpendingProtected ReadonlypreferencesProtected ReadonlypreferenceProtected ReadonlyrestrictionProtected ReadonlystatusProtected ReadonlystorageProtected ReadonlytoProtected ReadonlyuntitledProtected ReadonlywindowProtected ReadonlyworkspaceProtectedworkspaceProtected ReadonlyworkspaceProtectedareProtectedcalculateProtectedcollectProtectedconfirmProtectedcreateProtecteddoProtectedgetGet the URIs that need to be trusted for the current workspace. This includes all workspace folder URIs, plus the workspace file URI for saved workspaces (since workspace files can contain tasks/settings).
ProtectedhandleProtectedhandleProtectedhideProtectedinitProtectedisCheck if the workspace is empty (no workspace or folder opened, or an untitled workspace with no folders). A saved workspace file with 0 folders is NOT empty - it still needs trust evaluation because it could have tasks defined.
ProtectedisCheck if a URI is trusted. A URI is trusted if it or any of its parent folders is in the trusted folders list.
ProtectedisProtectedloadProtectedonRefreshes the restricted mode status bar item. Call this when restriction contributions change.
ProtectedresolveOptionalgivenTrust: booleanProtectedshowProtectedshowProtectedstoreProtectedupdate
Check if all workspace URIs are trusted. A workspace is trusted only if ALL of its folders (and the workspace file for saved workspaces) are trusted.