Interface OpenerService

OpenerService provide an access to existing openers.

interface OpenerService {
    onDidChangeOpeners?: Event<void>;
    addHandler?(openHandler): Disposable;
    getOpener(uri, options?): Promise<OpenHandler>;
    getOpeners(): Promise<OpenHandler[]>;
    getOpeners(uri, options?): Promise<OpenHandler[]>;
    removeHandler?(openHandler): void;
}

Implemented by

Properties

onDidChangeOpeners?: Event<void>

Event that fires when a new opener is added or removed.

Methods