registerRenameProvider method

Disposable registerRenameProvider(
  1. Object selector,
  2. RenameProvider provider
)

Register a rename provider.

Multiple providers can be registered for a language. In that case providers are sorted by their {@link languages.matchscore} and asked in sequence. The first provider producing a result defines the result of the whole operation.

Implementation

_i3.Disposable registerRenameProvider(
  _i2.Object selector,
  _i3.RenameProvider provider,
) =>
    _i4.callMethod(
      this,
      'registerRenameProvider',
      [
        selector,
        provider,
      ],
    );