1:打开Preferences -> Settings:Sublime Text默认设置如下:
![](https://i-blog.csdnimg.cn/blog_migrate/0fa98ad0d2451d681970955a7aab743c.png)
2 . 修改默认配置文件,以下给出示例代码:
{
"dpi_scale": 1.0,
"font_face": "Consolas",
"font_size": 20,
"ignored_packages":
[
"Vintage"
],
"line_padding_bottom": 1,
"line_padding_top": 1,
"tab_size": 4,
"translate_tabs_to_spaces": true,
"word_wrap": "true"
}
修改覆盖原配置并保存:
![](https://i-blog.csdnimg.cn/blog_migrate/6aec46130af974e6ccbf5902e7b508af.png)
3. 关闭Sublime Text ,然后重新打开原有文件,此时一切显示正常
![](https://i-blog.csdnimg.cn/blog_migrate/47143d66abe136216fa25edf7cb3d0ec.png)