unregisterCommand method

void unregisterCommand(
  1. String commandId
)

Unregister a command.

Implementation

void unregisterCommand(String commandId) {
  _commands.remove(commandId);
  _protocol.unregisterHandler('vscode/command/$commandId');
  _protocol.sendNotification('vscode/unregisterCommand', {'id': commandId});
}