A selector that defines the documents this provider applies to.
A completion item provider.
An unsubscribable to unregister this provider.
Registers a definition provider.
Multiple providers can be registered for a language. In that case, providers are queried in parallel and the results are merged. A failing provider (rejected promise or exception) will not cause the whole operation to fail.
A selector that defines the documents this provider is applicable to.
A definition provider.
An unsubscribable to unregister this provider.
Registers a document highlight provider.
Multiple providers can be registered with overlapping document selectors. In that case, providers are queried in parallel and the results are merged. A failing provider will not cause the whole operation to fail.
A selector that defines the documents this provider applies to.
A document hover provider.
An unsubscribable to unregister this provider.
Registers a hover provider, which returns a formatted hover message (intended for display in a tooltip) when the user hovers on code.
Multiple providers can be registered for a language. In that case, providers are queried in parallel and the results are merged. A failing provider (rejected promise or exception) will not cause the whole operation to fail.
A selector that defines the documents this provider is applicable to.
A hover provider.
An unsubscribable to unregister this provider.
Registers a generic provider of a list of locations. It is the general form of registerDefinitionProvider and registerReferenceProvider. It is intended for "find implementations", "find type definition", and other similar features.
The provider can be executed with the executeLocationProvider
builtin command, passing the {@link id}
as the first argument. For more information, see
https://docs.sourcegraph.com/extensions/authoring/builtin_commands#executeLocationProvider.
An identifier for this location provider that distinguishes it from other location providers.
A selector that defines the documents this provider is applicable to.
A location provider.
An unsubscribable to unregister this provider.
Registers a reference provider.
Multiple providers can be registered for a language. In that case, providers are queried in parallel and the results are merged. A failing provider (rejected promise or exception) will not cause the whole operation to fail.
A selector that defines the documents this provider is applicable to.
A reference provider.
An unsubscribable to unregister this provider.
Generated using TypeDoc
Registers a completion item provider.
Multiple providers can be registered with overlapping document selectors. In that case, providers are queried in parallel and the results are merged. A failing provider will not cause the whole operation to fail.