AbstractFileCommandHandler.canExecute method
AbstractFileCommandHandler › canExecute
Checks whether the command can execute from the command palette. Uses the active file as the target.Signature:
canExecute(): booleanReturns: boolean — Whether the command can execute.