Focus Blocker

focus blocker logo

Work. Pause. Repeat. Focus Blocker ensures you stay sharp by enforcing regular breaks with visual reminders inside VS Code. Lightweight, localized, and distraction-proof.

I created this extension to maintain scheduled breaks, becouse work-life balance is important.

When I searched how to visually indicate break, I couldnt find any good visual indication on those extensions, so I decided to create my own. Now, meet presentation:

main blocker
This is how blocking looks like
main blocker
And this is how in taskbar

Focus Blocker is your personal break enforcer inside VS Code. It keeps you productive and healthy by actively reminding you to rest — with a full-screen overlay you can't ignore.

It features a persistent status bar timer, customizable durations, localization (EN, UA), and an extremely simple interface. It automatically starts counting down on VS Code launch — set it and forget it.

Focus Blocker Features

  • Automatic break enforcement

    Starts a countdown automatically when VS Code launches and enforces breaks with a fullscreen overlay

  • Customizable intervals

    Set your own work and break durations using a simple settings interface

  • Unskippable fullscreen blocker

    Displays a webview that overlays your code — can’t be ignored

  • Status bar timer

    See time left before the next break right in the status bar, updated live

  • Multilingual support

    Fully localized in English, Ukrainian, and Russian

  • Restart timer manually

    Use command palette to restart the timer if needed

  • Webview-based settings panel

    Customize durations in a visually clear and user-friendly settings window

  • Lightweight & unobtrusive

    No bloat, no distractions — does one job and does it well

Created as a reminder to take care of yourself while doing deep work. Simple, lightweight, and surprisingly effective — highly recommended for solo developers and productivity nerds.

View on github