An action is either an array of actions... ... or a case statement with guards... ... or a basic action with a token value.
A rule is either a regular expression and an action shorthands: [reg,act] == { regex: reg, action: act} and : [reg,act,nxt] == { regex: reg, action: act{ next: nxt }}
A provider result represents the values a provider, like the HoverProvider
,
may return. For once this is the actual result type T
, like Hover
, or a thenable that resolves
to that type T
. In addition, null
and undefined
can be returned - either directly or from a
thenable.
An event emitted when a language is first time needed (e.g. a model has it set).
Get the information of all the registered languages.
Register information about a new language.
Register a code action provider (used by e.g. quick fix).
Register a code lens provider (used by e.g. inline code lenses).
Register a document color provider (used by Color Picker, Color Decorator).
Register a completion item provider (use by e.g. suggestions).
Register a declaration provider
Register a definition provider (used by e.g. go to definition).
Register a formatter that can handle only entire models.
Register a document highlight provider (used by e.g. highlight occurrences).
Register a formatter that can handle a range inside a model.
Register a document range semantic tokens provider
Register a document semantic tokens provider
Register a document symbol provider (used by e.g. outline).
Register a folding range provider
Register a hover provider (used by e.g. editor hover).
Register a implementation provider (used by e.g. go to implementation).
Register a link provider that can find links in text.
Register an linked editing range provider.
Register a formatter than can do formatting as the user types.
Register a reference provider (used by e.g. reference search).
Register a rename provider (used by e.g. rename symbol).
Register a selection range provider
Register a signature help provider (used by e.g. parameter hints).
Register a type definition provider (used by e.g. go to type definition).
Change the color map that is used for token colors. Supported formats (hex): #RRGGBB, $RRGGBBAA, #RGB, #RGBA
Set the editing configuration for a language.
Set the tokens provider for a language (monarch implementation).
Set the tokens provider for a language (manual implementation).
Generated using TypeDoc
A tuple of two characters, like a pair of opening and closing brackets.