Focus on your code
Focus on your code window
Focus on your code with Hide Tool Windows ⌘⇧F12 (macOS) / Ctrl+Shift+F12 (Windows/Linux). You can use the same shortcut to bring them back again. Or use Zen mode from the menu View | Appearance | Enter Zen Mode.