Distraction-free coding on a Mac, in any editor

Your editor isn’t the problem. It’s the Slack window on the second screen, the docs tab with a recommendations sidebar, and the video you put on for background music.

See how it works
A Mac coding setup: a dark code editor, a documentation page and a team chat, with a message notification arriving. The same coding setup in Focus mode: the editor and the docs page are clear and the chat window is blacked out.
Docs you need, chat you don’t, and a notification on top.

The problem

Context is expensive to rebuild

A bug you’re holding in your head can vanish in a single glance at a notification. Getting back to where you were often takes far longer than the interruption itself.

Editor zen modes help inside the editor. But coding happens across several apps: the editor, a terminal, documentation, an AI assistant, a ticket. Around them sit chat, email and whatever you’re playing for background music.

A focus setup that spans apps, rather than one window, matches the way you actually work.

The fix

Set up a coding focus view

  1. Arrange your windows.

    Editor, terminal and any docs you need, the way you like them.

  2. Press ⌃⇧H and choose Focus.

    Focus keeps what you draw clear.

  3. Draw a box over each working window.

    Use Select a Window for a whole window in one click, or draw over part of one, such as just the terminal pane.

  4. Press Return, then save it.

    Press ⌘S and name it “Coding”. Your coding desktop now keeps its own setup when you swipe between desktops.

The same coding setup in Focus mode: the editor and the docs page are clear and the chat window is blacked out.
Editor and docs stay clear. The chat goes dark.

App by app

Setups developers use

  • VS Code and Cursor

    Keep the editor and integrated terminal clear; cover the activity bar, minimap or AI chat panel when you want to think on your own.

  • Xcode

    Keep the editor and the simulator clear while the rest of the screen is blacked out.

  • Terminal, iTerm2 and Warp

    Keep one pane clear during a long build and cover the rest of the screen, including the Slack window that would otherwise win.

  • Documentation in the browser

    Cover the docs site’s sidebar ads and the browser’s other tabs and keep the article clear.

  • Coding with music

    Black out the music video’s recommendations and comments, so changing a track takes ten seconds instead of thirty minutes.

  • AI coding agents

    While an agent runs, cover its scrolling output and keep your own task clear. Peek when you want a status check.

Why it helps

What you get

  • Across every app

    One setup covers the editor, terminal, docs and music, not just one window.

  • Per desktop

    Your coding desktop keeps its focus view while your other desktops stay normal.

  • No permissions

    Nothing to approve in Privacy & Security, which keeps managed work Macs simple.

Good to know

Good to know

  • Focus areas don’t follow whichever window you click into. Draw them over the windows you’ll use.
  • Notification banners appear above the shades. Turn on a Focus mode in macOS to silence them.

FAQ

Questions and answers

Is there a zen mode that works across apps on Mac?

macOS doesn’t have one. HideTheRest’s Focus mode is the closest: you choose which windows or areas stay clear, and everything else on the screen is blacked out, across any apps.

Can I keep the terminal visible while I black out everything else?

Yes. Draw a second focus box over the terminal, or over just the pane you’re watching.

Does it slow down my Mac or my builds?

It only draws shapes on screen and checks window positions, so it has no effect on builds or editor performance in normal use.

Does it work with multiple monitors?

Yes. Each display can have its own focus area, or be blacked out completely.

HideTheRest for Mac · Holiday Season Sale

Get the app now
for $9.99.

Cover what distracts you in any app, site or game, on every desktop and display. Pay once and it’s yours.

  • Works in every app, with no permissions
  • Hide or Focus, with Dim, Blur or Blackout
  • Saved layouts, one click from the menu bar
  • No account, no subscription, works offline
Try the demo first

Holiday Season Sale price until Thursday, December 31 at 11:59 PM PST · One-time purchase · macOS 13 Ventura or later

The same coding setup in Focus mode: the editor and the docs page are clear and the chat window is blacked out.

$9.99was $19.99one-time