Skip to content

Using clock and timer functions

Timing is everything. To keep an eye on the time, you can use the clock and timer functions from Demo Time.

Clock

The clock is visible in the Presenter View and the status bar from Visual Studio Code which is located at the bottom of the editor.

By default, the clock is enabled. If you want to disable it, you can set the demoTime.showClock setting to false.

.vscode/settings.json
{
"demoTime.showClock": true
}

Timer

When the clock is enabled, you can also make use of the timer. The timer is a countdown that you can start by clicking on the clock in the status bar.

The timer will start at the time you clicked on the clock and will count down to zero. When the timer reaches zero, it will turn red and keeps counting up to indicate the time that has passed since the timer reached zero.

You can define the duration of the timer by setting the demoTime.timer setting to the desired duration in minutes.

.vscode/settings.json
{
"demoTime.timer": 45
}

Clock and timer in status bar