File --> settings --> Editor --> General --> Editor Tabs --> Appearance --> Show tabs in one row ( 顶部 tabs 在一行显示 ) 取消勾选 相关文章: