sublimetext2settingssublimetextpackage-control

Change settings of BracketHighlighter Package Sublime Text


how can i change the threshold in my BracketHighlighter to highlight brackets that are farther apart? Instead of displaying a question mark in the left bar I still want to be able to locate the brackets


Solution

  • You can change the settings either in

    ~/Library/Application Support/Sublime Text 2/Packages/BracketHighlighter/bh_core.sublime-settings 
    

    or in your user settings

    ~/Library/Application Support/Sublime Text 2/Packages/User/bh_core.sublime-settings
    

    Relevant settings include:

    // 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,