SublimeText3是我最喜欢的代码编辑器之一,主要是它的代码配色很喜欢,而且速度很快,插件丰富,但是还是有点儿小缺陷,不支持中文gbk,导致左侧的树形中文文件夹变成方框
工具/原料
SublimeText3
方法/步骤
1、首先打开SublimeText3,左侧的树形目录中文却变成了方框乱码
2、然后找到顶部工具栏依次打开Preferences-->Settings
3、会弹出一个Settings对话框显示如下内容{ "color_scheme&孥恶膈茯quot;:"Packages/M锾攒揉敫aterialize/schemes/MaterialBrogrammer.tmTheme", "ignored_packages": [ "Vintage" ], "numix_sidebar_tree_large":true, "numix_sidebar_tree_medium":true, "numix_sidebar_tree_small":true, "numix_sidebar_tree_xlarge":true, "numix_sidebar_tree_xsmall":true, "numix_small_tabs":true, "numix_xsmall_tabs":true, "theme":"Numix.sublime-theme"}
4、最后在"theme&孥恶膈茯quot;:"Numix.sublime-theme"后面添加一串代码媪青怍牙"dpi_scale":1.0变成如下代码并保存{ "color_scheme":"Packages/Materialize/schemes/MaterialBrogrammer.tmTheme", "ignored_packages": [ "Vintage" ], "numix_sidebar_tree_large":true, "numix_sidebar_tree_medium":true, "numix_sidebar_tree_small":true, "numix_sidebar_tree_xlarge":true, "numix_sidebar_tree_xsmall":true, "numix_small_tabs":true, "numix_xsmall_tabs":true, "theme":"Numix.sublime-theme", "dpi_scale":1.0}
5、保存后重启SublimeText3,左侧树型目录已经变成中文啦