Keep your computer display awake from Visual Studio Code.
Display Manager adds a simple status bar control that lets you turn keep-awake mode on or off without leaving the editor. When enabled, the extension uses operating system level commands to prevent the display from going idle.
Features
toggle keep-awake mode from the VS Code status bar
enable or disable it from the Command Palette
restore the previous enabled state when VS Code starts
support desktop VS Code on macOS, Windows, and Linux
How To Use
Install the extension.
Look for the On or Off indicator in the VS Code status bar.
Click the indicator to toggle Display Manager.
You can also run these commands from the Command Palette:
Display Manager: Toggle Keep Awake
Display Manager: Enable Keep Awake
Display Manager: Disable Keep Awake
Status Indicator
On: keep-awake mode is available to enable
Off: keep-awake mode is currently active
Display Unsupported: your current platform is not supported by the extension
Platform Behavior
macOS: uses caffeinate and a small mouse-jiggle helper
Windows: uses SetThreadExecutionState and a PowerShell mouse-jiggle helper
Linux: uses systemd-inhibit
Limitations
works in desktop Visual Studio Code only
behavior can still be affected by operating system policies, battery saver modes, or device management settings
Linux support depends on systemd-inhibit being available on the system
Notes
This extension is designed for legitimate keep-awake use cases such as presentations, dashboards, monitoring, and long-running local work sessions.