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

    Implements

    Index

    Constructors

    Properties

    doValidate: undefined | ValidateFunction
    jsonSchemaData: JsonSchemaDataStore
    onDidChangeTaskSchema: Event<void> = ...
    onDidChangeTaskSchemaEmitter: Emitter<void> = ...
    problemMatcherRegistry: ProblemMatcherRegistry
    taskDefinitionRegistry: TaskDefinitionRegistry
    taskServer: TaskServer
    update: (...arguments: []) => Promise<void> = ...
    uri: URI = ...
    workspaceService: WorkspaceService

    Methods

    • Adds given task schema to taskConfigurationSchema as oneOf subschema. Replaces existed subschema by given schema if the corresponding $id properties are equal.

      Note: please provide $id property for subschema to have ability remove/replace it.

      Parameters

      • schema: IJSONSchema

        subschema for adding to taskConfigurationSchema

      Returns void

    • Removes task subschema from customSchemas, use update() to apply the changes for taskConfigurationSchema.

      Parameters

      • arg: string

        $id property of subschema

      Returns boolean

      true if subschema was removed, false otherwise