如何更改BracketHighlighter中的阈值以突出显示相距较远的括号?
我仍然希望能够找到方括号,而不是在左侧栏中显示问号。
最佳答案
您可以在以下任一位置更改设置
~/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,