Module: extension
Functions
activate
▸ activate(context
): Promise
<CursorlessApi
>
Extension entrypoint called by VSCode on Cursorless startup.
- Creates a dependency container Graph with the components that implement Cursorless.
- Creates test case recorder TestCaseRecorder for contributors to use to record test cases.
- Creates an entrypoint for running commands CommandRunner.
Parameters
Name | Type |
---|---|
context | ExtensionContext |
Returns
Promise
<CursorlessApi
>
Defined in
extension.ts:32
deactivate
▸ deactivate(): void
Returns
void
Defined in
extension.ts:106