TextEditor
hide
のヘルプには、次のように書かれています。
<strong i="8">@deprecated</strong> **This method is deprecated.**
Use the command 'workbench.action.closeActiveEditor' instead.
ただし、 closeActiveEditor
は複雑なコマンドAPIページに表示されません。 これは単なる見落としですか、それともそのページは、呼び出すことが許可されているコマンドの完全なリストではありませんか?
以下があります
commands.getCommand(true)
は、すべての既知の(内部ではない)コマンドのリストを取得しますhttps://github.com/Microsoft/vscode/blob/master/src/vs/vscode.d.ts#L3285 、または
最も参考になるコメント
以下があります
commands.getCommand(true)
は、すべての既知の(内部ではない)コマンドのリストを取得しますhttps://github.com/Microsoft/vscode/blob/master/src/vs/vscode.d.ts#L3285 、または