VS Code API
    Preparing search index...

    Variable onDidChangeWindowStateConst

    onDidChangeWindowState: Event<WindowState>

    An Event which fires when the focus or activity state of the current window changes. The value of the event represents whether the window is focused.