Sublime Text-设置-用户设置-Preferences.sublime-settings
复制粘贴以下代码
{
"ignored_packages":
[
"Markdown",
"Vintage",
],
"font_size": 18,
"font_face":"HarmonyOS Sans SC Light",//需要安装HarmonyOS字体
//"font_face":"Consolas",
"color_scheme": "Packages/User/Trixed.tmTheme",
"theme": "auto",
"dark_theme": "Adaptive.sublime-theme",
"light_theme": "Default Dark.sublime-theme",
"auto_complete": true,
"auto_match_enabled": true,
"mdpopups.default_formatting": true,
"auto_complete_selector": "source, text",
"default_encoding": "UTF-8",
"dictionary": "Packages/Language - English/en_GB.dic",
"show_encoding": true,
"margin": 0,
"gutter": true,
"line_numbers": true,
"scroll_speed": 1.5,
"hide_tab_scrolling_buttons": true,
"hide_new_tab_button": true,
"tab_size": 4,
"match_brackets_angle": true,
"ensure_newline_at_eof_on_save": true,
"auto_complete_delay": 20,
"highlight_modified_tabs": true,
"bold_folder_labels": true,
"fade_fold_buttons": false,
"highlight_line": true,
"trim_trailing_white_space_on_save": true,
"show_line_endings": true,
"draw_white_space": "all",
"sublime_enhanced_keybindings": true,
"word_wrap": true,
}