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

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

    Implements

    Index

    Constructors

    Properties

    activationService: AIActivationService
    editorManager: EditorManager
    fileService: FileService
    workspaceService: WorkspaceService

    Methods

    • TODO: multi-root workspace support - currently only uses the first (primary) workspace root. In a multi-root workspace, the user should be prompted to select which workspace root to create/open the file in.

      Parameters

      • file: string
      • initialContent: string

      Returns Promise<void>