A wrapper around a providable type (hover text and locations) with additional context to enable displaying badges next to the wrapped result value in the UI.
The definition of a symbol represented as one or many locations. For most programming languages
there is only one location at which a symbol is defined. If no definition can be found null
is returned.
A document selector is the combination of one or many document filters. A document matches the selector if any of the given filters matches. If the filter is a string and not a DocumentFilter, it will be treated as a language id.
A provider result represents the values that a provider, such as the HoverProvider, may return. The result may be a single value, a Promise that resolves to a single value, a Subscribable that emits zero or more values, or an AsyncIterable that yields zero or more values.
A user interface component in an application window.
Each ViewComponent has a distinct {@link ViewComponent#type} value that indicates what kind of component it is (CodeEditor, etc.).
A view provider registered with {@link sourcegraph.app.registerViewProvider}.
The configuration settings.
It may be merged from the following sources of settings, in order:
Default settings Global settings Organization settings (for all organizations the user is a member of) User settings Repository settings Directory settings
Generated using TypeDoc
The Sourcegraph extension API
Sourcegraph extensions enhance your code host, code reviews, and Sourcegraph itself by adding features such as:
Check out the extension authoring documentation to get started.