Highlighter
Sublime Text plugin to highlight any sequence of characters. Highlights mixed tabs and spaces, some unicode characters and trailing space by default.
Details
Installs
- Total 79K
- Win 54K
- Mac 14K
- Linux 11K
Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | Jun 21 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | Jun 12 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 4 | 0 | 4 | 3 | 9 | 0 | 2 | 2 | 4 | 6 | 5 | 1 | 2 | 3 | 3 | 4 | 6 | 3 | 3 | 1 | 5 | 6 | 2 | 3 | 2 | 2 | 1 | 0 | 4 | 5 | 3 | 3 | 1 | 2 | 2 | 3 | 4 | 3 | 4 | 2 | 1 | 1 | 7 | 5 | 4 |
Mac | 0 | 0 | 3 | 1 | 1 | 4 | 0 | 0 | 1 | 0 | 0 | 2 | 0 | 1 | 1 | 3 | 1 | 0 | 2 | 0 | 0 | 0 | 0 | 1 | 0 | 2 | 0 | 0 | 1 | 1 | 0 | 1 | 2 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 2 |
Linux | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 | 2 | 0 | 0 | 1 | 0 | 0 | 0 | 2 | 0 | 1 | 0 | 2 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 2 | 0 | 2 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 1 | 0 | 3 | 3 | 1 | 0 | 1 | 1 | 2 |
Readme
- Source
- raw.githubusercontent.com
Highlighter
Archived since I don't use Sublime Text anymore.
A plugin for Sublime Text (ST2 and ST3) to highlight mixed tabs and spaces, some unicode characters and trailing space.
Additional highlighted characters
These characters are highlighted by default:
- U+2026 Horizontal ellipsis
- U+2018 Left single quotation mark
- U+2019 Right single quotation mark
- U+201c Left double quotation mark
- U+201d Right double quotation mark
- U+2013 En dash
- U+2014 Em dash
- U+00a0 Non-breaking space
- U+3000 Ideographic spaces
Key bindings
Ctrl+Alt+Shift+h
: Toggle highlighting on/off.
Menu commands
You can toggle highlighting in the View
menu.
The setting is per view, and not saved to disk. This can be changed in the settings, see below.
Configuration
You can override the default settings by creating a file in Packages/User/highlighter.sublime-settings
:
Check the default highlighter.sublime-settings file for available settings.
Syntax ignore
You can add a list of syntaxes to ignore with the following setting:
{
"highlighter_syntax_ignore": ["Python", "PHP"]
}
Save toggled state
To persist the toggled state to disk, set the following to true:
{
"highlighter_save_settings_on_change": true
}
Custom regex
You can customise the regex to highlight:
highlighter_regex <- Matching characters highlighted with fill and outline
highlighter_regex_cool <- Matching characters highlighted with stippled underline
{
"highlighter_regex": "(\t+ +(?![*]))|( +\t+)|([\t ]+$)",
"highlighter_regex_cool": "[\u2026\u2018\u2019\u201c\u201d\u2013\u2014\u00a0]"
}