如何更改BracketHighlighter中的阈值以突出显示更远的括号? 我仍然希望能够找到括号
,而不是在左栏中显示问号答案 0 :(得分:2)
在Sublime中导航到首选项,然后转到包设置并选择括号 - 用户设置。插入以下行以增加阈值或忽略(不推荐)。默认值为5K。
// Character threshold to search
"search_threshold": 1005000,
// Ignore threshold
"ignore_threshold": false,
答案 1 :(得分:1)
您可以在
中更改设置~/Library/Application Support/Sublime Text 2/Packages/BracketHighlighter/bh_core.sublime-settings
或在您的用户设置中
~/Library/Application Support/Sublime Text 2/Packages/User/bh_core.sublime-settings
相关设置包括:
// Match brackets only when the cursor is touching the inside of the bracket
"match_only_adjacent": false,
// Character threshold to search
"search_threshold": 55000,
// Set mode for string escapes to ignore (regex|string)
"bracket_string_escape_mode": "string",
// Set max number of multi-select brackets that will be searched automatically
"auto_selection_threshold" : 10000,