Editor Focus Notifier is a Visual Studio Code-compatible extension that detects focus state transitions between editor, terminal, and other areas, running configurable shell commands on state changes.
Open VSX Registry https://open-vsx.org/extension/knu/editor-focus-notifier
VS Code Marketplace https://marketplace.visualstudio.com/items?itemName=knu.editor-focus-notifier
GitHub Repository https://github.com/knu/vscode-editor-focus-notifier
This extension detects three states:
Commands run only when the state changes. The initial state is evaluated at startup and its command runs once.
This extension executes commands exactly as configured by the user.
Users are responsible for ensuring that configured commands are safe and trusted.
This extension is written and maintained by Akinori Musha.
For issues or security concerns, please use the GitHub repository linked above.
MIT License (see repository)