Sublime Text 3 配置文件(2)

// Set to a value other than 0 to force wrapping at that column rather than the
    // window width
    // 设置窗口内文字区域的宽度
    "wrap_width": 0,

// Set to false to prevent word wrapped lines from being indented to the same
    // level
    // 防止被缩进到同一级的字换行
    "indent_subsequent_lines": true,

// Draws text centered in the window rather than left aligned
    // 如果没有定义过,则文件居中显示(比如新建的文件)
    "draw_centered": false,

// Controls auto pairing of quotes, brackets etc
    // 自动匹配引号,括号等
    "auto_match_enabled": true,

// Word list to use for spell checking
    // 拼写检查的单词列表路径
    "dictionary": "Packages/Language - English/en_US.dic",

// Set to true to draw a border around the visible rectangle on the minimap.
    // The color of the border will be determined by the "minimapBorder" key in
    // the color scheme
    // 代码地图的可视区域部分是否加上边框,边框的颜色可在配色方案上加入minimapBorder键
    "draw_minimap_border": false,

// If enabled, will highlight any line with a caret
    // 突出显示当前光标所在的行
    "highlight_line": false,

// Valid values are "smooth", "phase", "blink", "wide" and "solid".、
    // 设置光标闪动方式
    "caret_style": "smooth",

// Set to false to disable underlining the brackets surrounding the caret
    // 是否特殊显示当前光标所在的括号、代码头尾闭合标记
    "match_brackets": true,

// Set to false if you'd rather only highlight the brackets when the caret is
    // next to one
    // 设为false时,只有光标在括号或头尾闭合标记的两端时,match_brackets才生效
    "match_brackets_content": true,

// Set to false to not highlight square brackets. This only takes effect if
    // match_brackets is true
    // 是否突出显示圆括号,match_brackets为true生效
    "match_brackets_square": true,

// Set to false to not highlight curly brackets. This only takes effect if
    // match_brackets is true
    // 是否突出显示大括号,match_brackets为true生效
    "match_brackets_braces": true,

// Set to false to not highlight angle brackets. This only takes effect if
    // match_brackets is true
    // 是否突出显示尖括号,match_brackets为true生效
    "match_brackets_angle": false,

// Enable visualization of the matching tag in HTML and XML
    // html和xml下突出显示光标所在标签的两端,影响HTML、XML、CSS等
    "match_tags": true,

// Highlights other occurrences of the currently selected text
    // 全文突出显示和当前选中字符相同的字符
    "match_selection": true,

// Additional spacing at the top of each line, in pixels
    // 设置每一行到顶部,以像素为单位的间距,效果相当于行距
    "line_padding_top": 0,

// Additional spacing at the bottom of each line, in pixels
    // 设置每一行到底部,以像素为单位的间距,效果相当于行距
    "line_padding_bottom": 0,

// Set to false to disable scrolling past the end of the buffer.
    // On OS X, this value is overridden in the platform specific settings, so
    // you'll need to place this line in your user settings to override it.
    // 设置为false时,滚动到文本的最下方时,没有缓冲区
    "scroll_past_end": true,

// This controls what happens when pressing up or down when on the first
    // or last line.
    // On OS X, this value is overridden in the platform specific settings, so
    // you'll need to place this line in your user settings to override it.
    // 控制向上或向下到第一行或最后一行时发生什么(没明白也没试出来)
    "move_to_limit_on_up_down": false,

// Set to "none" to turn off drawing white space, "selection" to draw only the
    // white space within the selection, and "all" to draw all white space
    // 按space或tab时,实际会产生白色的点(一个空格一个点)或白色的横线(tab_size设置的制表符的宽度),选中状态下才能看到
    // 设置为none时,什么情况下都不显示这些点和线
    // 设置为selection时,只显示选中状态下的点和线
    // 设置为all时,则一直显示
    "draw_white_space": "selection",

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/18459.html