Loading

sublime常用配置

// Settings in here override those in "Default/Preferences.sublime-settings",
// and are overridden in turn by syntax-specific settings.
{
    "update_check": false,
    "font_size": 13,
    "theme": "Default.sublime-theme",
    "color_scheme": "Packages/Color Scheme - Default/Monokai.sublime-color-scheme",
    "expand_tabs_on_save": true,
    "tab_size": 4,
    "translate_tabs_to_spaces": true,
    //"draw_white_space": "all",
    // 保存时自动去除行末空白
    "trim_trailing_white_space_on_save": true,
    // 失去光标自动保存
    "save_on_focus_lost": true,
    // 保存时自动增加文件末尾换行
    "ensure_newline_at_eof_on_save": true,
    // 默认编码格式
    "default_encoding": "UTF-8",
    // 把光标的样式从闪烁变成淡入淡出
    // 其余的选项还有"smooth", "phase", "blink", "wide", "solid".
    "caret_style": "phase",
    // 高亮当前行
    // "highlight_line": true,
    // 增加行间距
    "line_padding_bottom": 1,
    "line_padding_top": 1,
    // 一直显示代码折叠箭头
    "fade_fold_buttons": false,
    // 排除这些文件夹,搜索和侧边栏都不会显示
    "folder_exclude_patterns": [
        "*.dSYM",
    ],
    // 排除这些文件,搜索和侧边栏都不会显示
    "file_exclude_patterns": [
        ".DS_Store",
        ".clang-format",
        ".clang-tidy",
    ],
    // 代码补全
    "auto_complete": true,
    "ignored_packages":
    [
        "Vintage",
    ],
    //显示git提交作者和文件内行游标内的文本
    "show_line_annotation": "true",
}

 

posted @ 2023-04-21 23:41  Outsrkem  阅读(127)  评论(0)    收藏  举报