In the help for hide
on a TextEditor
it says:
@deprecated **This method is deprecated.**
Use the command 'workbench.action.closeActiveEditor' instead.
However closeActiveEditor
is not listed on the Complex Commands API page. Is this just an oversight, or is that page not a full list of commands we're allowed to call?
We have the following
commands.getCommand(true)
to get a list of all known (not internal) commands https://github.com/Microsoft/vscode/blob/master/src/vs/vscode.d.ts#L3285, or
Most helpful comment
We have the following
commands.getCommand(true)
to get a list of all known (not internal) commands https://github.com/Microsoft/vscode/blob/master/src/vs/vscode.d.ts#L3285, or