Function registerEditorOpener

  • Registers a handler that is called when a resource other than the current model should be opened in the editor (e.g. "go to definition"). The handler callback should return true if the request was handled and false otherwise.

    Returns a disposable that can unregister the opener again.

    If no handler is registered the default behavior is to do nothing for models other than the currently attached one.

    Parameters

    Returns IDisposable