Skip to content

AbstractFileCommandHandler.getActiveFile method

AbstractFileCommandHandler › getActiveFile

Gets the active file, if any, to use as the target when executing from the command palette.

Signature:

getActiveFile(): null | TAbstractFile

Returns: null | TAbstractFileThe active file or null if none is active.