You'blog

解决sublime text 3总是在新窗口中打开文件(标签中打开)

2018-08-13

sublime text 3的时候有一个很头疼的问题,就是sublime text 3默认的都是新窗口打开文件,这就造成了你打开一个文件就会开启一个新窗口,非常难受,在翻看sublime text 3的setting配置文件时发现open_files_in_new_window这个选项第390-392行:

1
2
3
// Mac only: When files are opened from finder, or by dragging onto the
// dock icon, this controls if a new window is created or not.
"open_files_in_new_window": true,

明白了官方给出的配置默认是新窗口打开,于是修改配置文件

  1. 具体设置:Preferences -> Settings – Default -> 搜索open_files_in_new_window,将其true 改为 false 后,重启一下sublime text 3 就OK了。
  2. 也可在自己的配置里面修改 Preferences -> Settings – User 添加 "open_files_in_new_window": false,
使用支付宝打赏
使用微信打赏

若你觉得我的文章对你有帮助,欢迎点击上方按钮对我打赏

扫描二维码,分享此文章