Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Display ManagerNew to Visual Studio Code? Get it now.
Display Manager

Display Manager

Sivasubramaniyam

|
1 install
| (1) | Free
Keep your display awake from VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Display Manager

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

  1. Install the extension.
  2. Look for the On or Off indicator in the VS Code status bar.
  3. 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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft