如下图:
File >> Preferences >> Settings
(或者使用快捷键 "ctrl + ," )
搜索栏输入:runinterminal
勾选:Whether to run code in Integrated Terminal.