Display Awake for VS CodeKeep your display awake during presentations, monitoring, or long-running work. Turn Awake on from the status bar, or choose a time limit so it stops automatically. Features
InstallRequires desktop Visual Studio Code 1.90 or later on Windows, macOS, or Linux.
You can install the VSIX locally if your organization's proxy blocks Marketplace downloads. Use your organization's approved process to transfer the file. Turn Awake On or OffClick Idle to turn Awake on. The indicator changes to Awake. Click Awake to stop it at any time. Awake initially defaults to Unlimited. After you choose a duration, the next start uses that duration again. Changes apply across your open VS Code windows. On macOS and Windows, turning Awake on also starts small mouse movements about every two minutes. Turning it off or reaching the time limit stops both mouse movement and display protection. Choose a Time LimitClick the clock beside Awake, or run Display Manager: Set Awake Duration from the Command Palette. Choose 30 minutes, 1 hour, 2 hours, 3 hours, Unlimited, or Custom duration. Choosing a duration starts Awake immediately. Choosing another duration restarts the countdown from that moment. Cancelling the picker leaves the current session as it is. Unlimited runs until you turn Awake off. For a custom duration, enter hours and minutes as
Always use two digits for minutes, from The clock shows minutes remaining. When the time runs out, Awake turns off across your VS Code windows. Reloading VS Code preserves the remaining time. If you reopen VS Code after the saved time limit has passed, Awake stays off. If the operating system suspends VS Code, the time limit is checked when it resumes. To set the duration used for future starts, open VS Code Settings and search for
Display Manager: Duration Minutes. Command Palette
Status Bar
If Awake or Mouse Movement Does Not WorkOpen View → Output and choose Display Awake to see error details.
Operating system policies, battery saver, or device management settings can affect display protection and mouse movement. If your organization blocks them, share the Output details with your IT administrator. |