Theia API Documentation v1.65.0
    Preparing search index...

    The command contribution should be implemented to register custom commands and handler.

    Implements

    Index

    Constructors

    Properties

    clipboardService: ClipboardService
    compareHandler: WorkspaceCompareHandler
    deleteHandler: WorkspaceDeleteHandler
    duplicateHandler: WorkspaceDuplicateHandler
    fileDialogService: FileDialogService
    fileService: FileService
    labelProvider: LabelProvider
    messageService: MessageService
    openerService: OpenerService
    selectionService: SelectionService
    workspaceService: WorkspaceService

    Accessors

    Methods

    • Returns an error message if the file name is invalid. Otherwise, an empty string.

      Parameters

      • name: string

        the simple file name of the file to validate.

      • parent: FileStat

        the parent directory's file stat.

      • allowNested: boolean = false

        allow file or folder creation using recursive path

      Returns Promise<string>