Auto-focus code editor