Tech explained
VS Code Settings for Coding Interviews Explained: 5 to Copy
Updated Dec 2, 2026 · 3 min read
Open settings.json with 'Preferences: Open User Settings (JSON)' and add a bigger editor.fontSize (18 works well on screen share), files.autoSave set to afterDelay, editor.formatOnSave set to true and editor.minimap.enabled set to false. Then press Ctrl+K Z (Cmd+K Z on Mac) for Zen Mode, and press Esc twice to leave it.

Key points
- ●A bigger font is the cheapest fix for an interviewer squinting at your screen.
- ●files.autoSave afterDelay saves after a pause, 1000 ms by default.
- ●Format on save skips delayed auto saves, so press Ctrl+S before you run.
- ●Minimap off and Zen Mode leave only the code on screen.

Why default VS Code hurts in a live interview
In a coding interview someone else is reading your editor through a video call. Small text gets blurry after compression, a minimap and sidebar eat a third of the width, and a half-saved file can make you run old code while you talk. None of that is about skill, and all of it is fixable in a minute before the call.
The 5 settings
The visual sheet above has each one as its own card, plus the shortcuts you need to apply them.
- Bigger font.
"editor.fontSize": 18. The value is in pixels. 18 is our suggestion for screen share, not a rule; pick what reads well in a test call. - Auto save.
"files.autoSave": "afterDelay"saves your file after a short pause. The pause is"files.autoSaveDelay", in milliseconds, and the default is 1000. - Format on save.
"editor.formatOnSave": truecleans up indentation and spacing whenever you save. It needs a formatter for your language, for example the one that comes with the Python extension. - Minimap off.
"editor.minimap.enabled": falseremoves the code overview strip on the right, so your lines get that width back. - Zen Mode. Ctrl+K Z (Cmd+K Z on Mac), a chord: press Ctrl+K, let go, then press Z. It hides everything except the editor. Press Esc twice to leave.
The settings.json to paste
Open the Command Palette (Ctrl+Shift+P, or Cmd+Shift+P on Mac), run "Preferences: Open User Settings (JSON)" and add these lines inside the outer braces:
{
"editor.fontSize": 18,
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 1000,
"editor.formatOnSave": true,
"editor.minimap.enabled": false
}
If the file already has settings, add a comma after the last existing line and paste only the five inner lines. Zen Mode isn't a line in this file; it's a toggle you turn on when the call starts.
Keep them for interviews only
If you like your normal setup, you don't have to change it for good. VS Code has two levels of settings: User settings apply everywhere, and Workspace settings apply to one folder. Make a practice folder for interview problems, open the Settings editor, pick the Workspace tab and set the same five values there. They get saved in that folder's .vscode/settings.json, so the big font and the empty sidebar only show up when you open your interview folder. Everything else stays the way you had it.
The catch with auto save and formatting
These two settings don't fully work together. Format on save runs when you save, but the timed saves from afterDelay skip it. So your file is always saved, yet not always formatted. The fix is a habit: press Ctrl+S (Cmd+S on Mac) once before you run the code. You get a formatted file, and the interviewer sees clean code right when you hit run.
A 60-second checklist before the call
| Check | How |
|---|---|
| Font readable | Share your screen with a friend or a second device |
| Auto save on | Type a line and watch the unsaved dot on the tab vanish |
| Formatter works | Mess up an indent, press Ctrl+S, see it snap back |
| Space for code | Minimap gone, extra tabs closed |
| Focus | Ctrl+K Z for Zen Mode once the problem is open |
Common mistakes
- Relying on auto save to format. It won't. Save by hand before you run.
- Turning on format on save with no formatter. Nothing happens, and it looks like the setting is broken. Install the language extension first.
- Getting stuck in Zen Mode. Esc twice gets you out; remember it before the call, not during.
- Changing too much right before the interview. Set these up a day early so the editor feels normal when it counts.
Frequently asked questions
How do I open settings.json in VS Code?
Open the Command Palette with Ctrl+Shift+P (Cmd+Shift+P on Mac) and run 'Preferences: Open User Settings (JSON)'. The visual Settings editor is Ctrl+, (Cmd+, on Mac) if you'd rather click.
Why doesn't format on save run when VS Code auto saves?
Format on save runs when you save yourself. With files.autoSave set to afterDelay, the timed saves skip formatting, so press Ctrl+S or Cmd+S once before you run the code.
What font size should I use for a coding interview?
There's no official number. 18 is a good starting point for screen share; test it in a call and go bigger if the other side has a small screen.
How do I exit Zen Mode?
Press Esc twice, or run 'View: Toggle Zen Mode' from the Command Palette again. Ctrl+K Z (Cmd+K Z on Mac) toggles it too.