Module: ide/vscode/VscodeEvents
Functions
forwardEvent
▸ forwardEvent<S
, T
>(vscodeEvent
, transform
): Event
<T
>
Transforms a VSCode event into an event that forwards the VSCode event
Type parameters
Name |
---|
S |
T |
Parameters
Name | Type | Description |
---|---|---|
vscodeEvent | Event <S > | The VSCode event to forward |
transform | (e : S ) => T | A function that transforms the VSCode event info into the desired event info |
Returns
Event
<T
>
An event that forwards the given VSCode event
Defined in
vscodeOnDidChangeTextDocument
▸ vscodeOnDidChangeTextDocument(listener
): Disposable
Parameters
Name | Type |
---|---|
listener | (event : TextDocumentChangeEvent ) => void |