1、首先,点击菜单中的file菜单
2、弹出了下拉菜单选中为settings选项
3、点击左侧中ssh terminal选项
4、勾选上current vagrant选项
5、勾选上current vagrant选项之后,点击ok按钮