菜单栏里点击 Preferences-> Setting-User
// 注意只有一个大括号,如果之前有属性,如在之前的属性前确保有 ,(逗号)
{
//显示tab和空格标示(方便Python编写格式)
"draw_white_space": "all",
//一行内容超过显示窗口,自动换行
"word_wrap": true,
//tab键长度为4
"tab_size": 4,
//tab键转为空格
"translate_tabs_to_spaces": true,
//保存时转换tab为空格
"expand_tabs_on_save": true
}