Preparing search index...
The search index is not available
Monaco Editor API
Monaco Editor API
editor
registerCommand
Function registerCommand
register
Command
(
id
,
handler
)
:
IDisposable
Register a command.
Parameters
id
:
string
handler
:
(
(
accessor
,
...
args
)
=>
void
)
(
accessor
,
...
args
)
:
void
Parameters
accessor
:
any
Rest
...
args
:
any
[]
Returns
void
Returns
IDisposable
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Monaco Editor API
Loading...
Register a command.