Manual: If you have a .vsix file, use the Extensions view menu and choose "Install from VSIX...".
Quick start
Install the extension.
Open the Command Palette (Ctrl/Cmd+Shift+P) and run: "Theme Switcher: Open Settings".
Use the UI to add time -> theme mappings and save.
Alternatively, configure via Settings (JSON):
{
// Optional: UTC offset setting (in hours)
"themeswitcher.utcOffset": 0,
// Switch to these themes at the specified times (24-hour HH:mm)
"themeswitcher.mappings": [
{ "time": "08:00", "theme": "Default Light+", "iconTheme": "vs-seti" },
{ "time": "18:30", "theme": "Default Dark+", "iconTheme": "vs-seti" },
],
}
Notes:
Time format must be HH:mm (24-hour). Invalid times are ignored and an error is shown.
Theme and Icon Theme names must match the names shown in Preferences: Color Theme and File Icon Theme.
The extension checks periodically and applies the theme when the current time reaches your mapping.
Command
Theme Switcher: Open Settings (command id: themeswitcher.openSettings).
Settings
themeswitcher.mappings (array): Your schedule. Each item is an object:
time (string, HH:mm): When to activate the theme.
theme (string): The Color Theme name to activate.
iconTheme (string, optional): The File Icon Theme name to activate.
themeswitcher.utcOffset (integer, default 0): Optional time offset (in hours). If your system clock and timezone are correct, you can usually leave this at 0.
Troubleshooting
Ensure the theme names are spelled exactly as they appear in VS Code.
If nothing happens at a scheduled time, verify your mapping times use HH:mm and that the extension is enabled.
Check the VS Code notifications area; the extension shows an info message when a theme is applied and an error if a time is invalid.