1. ubuntu上vs code root执行
2. 设置vs code 打开在新的标签页打开新文件
2.1 则可在左下角单击设置,settings-> Workbench->Editor Management 里去掉Enable Preview 的勾选项
转载于:https://www.cnblogs.com/linux-37ge/p/11270760.html