Theia API Documentation v1.77.0
    Preparing search index...
    Index
    workspaceFileService: WorkspaceFileService
    • Check if a URI is an untitled workspace.

      Parameters

      • Optionalcandidate: URI

        The URI to check

      • OptionalconfigDirUri: URI

        Optional config directory URI. If provided, also verifies that the candidate is under the expected workspaces directory. This is the secure check and should be used when possible.

      Returns boolean