ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Highlighter

by bluegray ALL

Sublime Text plugin to highlight any sequence of characters. Highlights mixed tabs and spaces, some unicode characters and trailing space by default.

Labels formatting

Details

Installs

  • Total 80K
  • Win 54K
  • Mac 14K
  • Linux 11K
Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3
Windows 0 1 4 2 6 10 1 6 5 4 1 1 3 1 4 4 0 0 1 3 4 1 1 0 3 4 7 3 3 2 1 5 3 2 0 5 5 2 4 1 6 2 3 4 1 2
Mac 1 4 0 0 1 1 0 3 0 0 0 2 0 2 3 0 0 1 1 1 1 0 0 1 0 1 2 1 4 1 0 0 1 2 2 1 0 2 1 0 2 2 0 4 0 1
Linux 0 0 0 0 1 1 0 2 1 0 0 0 0 1 0 2 0 0 0 2 0 1 1 1 0 1 0 1 2 0 0 0 1 0 0 0 0 0 0 0 1 0 1 0 0 0
0510Jun 17Jun 14Jun 11Jun 8Jun 5Jun 2May 30May 27May 24May 21May 18May 15May 12May 9May 6May 3Jun 17 Linux: 0 Mac: 1 Windows: 0Jun 16 Linux: 0 Mac: 4 Windows: 1Jun 15 Linux: 0 Mac: 0 Windows: 4Jun 14 Linux: 0 Mac: 0 Windows: 2Jun 13 Linux: 1 Mac: 1 Windows: 6Jun 12 Linux: 1 Mac: 1 Windows: 10Jun 11 Linux: 0 Mac: 0 Windows: 1Jun 10 Linux: 2 Mac: 3 Windows: 6Jun 9 Linux: 1 Mac: 0 Windows: 5Jun 8 Linux: 0 Mac: 0 Windows: 4Jun 7 Linux: 0 Mac: 0 Windows: 1Jun 6 Linux: 0 Mac: 2 Windows: 1Jun 5 Linux: 0 Mac: 0 Windows: 3Jun 4 Linux: 1 Mac: 2 Windows: 1Jun 3 Linux: 0 Mac: 3 Windows: 4Jun 2 Linux: 2 Mac: 0 Windows: 4Jun 1 Linux: 0 Mac: 0 Windows: 0May 31 Linux: 0 Mac: 1 Windows: 0May 30 Linux: 0 Mac: 1 Windows: 1May 29 Linux: 2 Mac: 1 Windows: 3May 28 Linux: 0 Mac: 1 Windows: 4May 27 Linux: 1 Mac: 0 Windows: 1May 26 Linux: 1 Mac: 0 Windows: 1May 25 Linux: 1 Mac: 1 Windows: 0May 24 Linux: 0 Mac: 0 Windows: 3May 23 Linux: 1 Mac: 1 Windows: 4May 22 Linux: 0 Mac: 2 Windows: 7May 21 Linux: 1 Mac: 1 Windows: 3May 20 Linux: 2 Mac: 4 Windows: 3May 19 Linux: 0 Mac: 1 Windows: 2May 18 Linux: 0 Mac: 0 Windows: 1May 17 Linux: 0 Mac: 0 Windows: 5May 16 Linux: 1 Mac: 1 Windows: 3May 15 Linux: 0 Mac: 2 Windows: 2May 14 Linux: 0 Mac: 2 Windows: 0May 13 Linux: 0 Mac: 1 Windows: 5May 12 Linux: 0 Mac: 0 Windows: 5May 11 Linux: 0 Mac: 2 Windows: 2May 10 Linux: 0 Mac: 1 Windows: 4May 9 Linux: 0 Mac: 0 Windows: 1May 8 Linux: 1 Mac: 2 Windows: 6May 7 Linux: 0 Mac: 2 Windows: 2May 6 Linux: 1 Mac: 0 Windows: 3May 5 Linux: 0 Mac: 4 Windows: 4May 4 Linux: 0 Mac: 0 Windows: 1May 3 Linux: 0 Mac: 1 Windows: 2Jun 17 Linux: 0 Mac: 1 Windows: 0Jun 16 Linux: 0 Mac: 4 Windows: 1Jun 15 Linux: 0 Mac: 0 Windows: 4Jun 14 Linux: 0 Mac: 0 Windows: 2Jun 13 Linux: 1 Mac: 1 Windows: 6Jun 12 Linux: 1 Mac: 1 Windows: 10Jun 11 Linux: 0 Mac: 0 Windows: 1Jun 10 Linux: 2 Mac: 3 Windows: 6Jun 9 Linux: 1 Mac: 0 Windows: 5Jun 8 Linux: 0 Mac: 0 Windows: 4Jun 7 Linux: 0 Mac: 0 Windows: 1Jun 6 Linux: 0 Mac: 2 Windows: 1Jun 5 Linux: 0 Mac: 0 Windows: 3Jun 4 Linux: 1 Mac: 2 Windows: 1Jun 3 Linux: 0 Mac: 3 Windows: 4Jun 2 Linux: 2 Mac: 0 Windows: 4Jun 1 Linux: 0 Mac: 0 Windows: 0May 31 Linux: 0 Mac: 1 Windows: 0May 30 Linux: 0 Mac: 1 Windows: 1May 29 Linux: 2 Mac: 1 Windows: 3May 28 Linux: 0 Mac: 1 Windows: 4May 27 Linux: 1 Mac: 0 Windows: 1May 26 Linux: 1 Mac: 0 Windows: 1May 25 Linux: 1 Mac: 1 Windows: 0May 24 Linux: 0 Mac: 0 Windows: 3May 23 Linux: 1 Mac: 1 Windows: 4May 22 Linux: 0 Mac: 2 Windows: 7May 21 Linux: 1 Mac: 1 Windows: 3May 20 Linux: 2 Mac: 4 Windows: 3May 19 Linux: 0 Mac: 1 Windows: 2May 18 Linux: 0 Mac: 0 Windows: 1May 17 Linux: 0 Mac: 0 Windows: 5May 16 Linux: 1 Mac: 1 Windows: 3May 15 Linux: 0 Mac: 2 Windows: 2May 14 Linux: 0 Mac: 2 Windows: 0May 13 Linux: 0 Mac: 1 Windows: 5May 12 Linux: 0 Mac: 0 Windows: 5May 11 Linux: 0 Mac: 2 Windows: 2May 10 Linux: 0 Mac: 1 Windows: 4May 9 Linux: 0 Mac: 0 Windows: 1May 8 Linux: 1 Mac: 2 Windows: 6May 7 Linux: 0 Mac: 2 Windows: 2May 6 Linux: 1 Mac: 0 Windows: 3May 5 Linux: 0 Mac: 4 Windows: 4May 4 Linux: 0 Mac: 0 Windows: 1May 3 Linux: 0 Mac: 1 Windows: 2Jun 17 Linux: 0 Mac: 1 Windows: 0Jun 16 Linux: 0 Mac: 4 Windows: 1Jun 15 Linux: 0 Mac: 0 Windows: 4Jun 14 Linux: 0 Mac: 0 Windows: 2Jun 13 Linux: 1 Mac: 1 Windows: 6Jun 12 Linux: 1 Mac: 1 Windows: 10Jun 11 Linux: 0 Mac: 0 Windows: 1Jun 10 Linux: 2 Mac: 3 Windows: 6Jun 9 Linux: 1 Mac: 0 Windows: 5Jun 8 Linux: 0 Mac: 0 Windows: 4Jun 7 Linux: 0 Mac: 0 Windows: 1Jun 6 Linux: 0 Mac: 2 Windows: 1Jun 5 Linux: 0 Mac: 0 Windows: 3Jun 4 Linux: 1 Mac: 2 Windows: 1Jun 3 Linux: 0 Mac: 3 Windows: 4Jun 2 Linux: 2 Mac: 0 Windows: 4Jun 1 Linux: 0 Mac: 0 Windows: 0May 31 Linux: 0 Mac: 1 Windows: 0May 30 Linux: 0 Mac: 1 Windows: 1May 29 Linux: 2 Mac: 1 Windows: 3May 28 Linux: 0 Mac: 1 Windows: 4May 27 Linux: 1 Mac: 0 Windows: 1May 26 Linux: 1 Mac: 0 Windows: 1May 25 Linux: 1 Mac: 1 Windows: 0May 24 Linux: 0 Mac: 0 Windows: 3May 23 Linux: 1 Mac: 1 Windows: 4May 22 Linux: 0 Mac: 2 Windows: 7May 21 Linux: 1 Mac: 1 Windows: 3May 20 Linux: 2 Mac: 4 Windows: 3May 19 Linux: 0 Mac: 1 Windows: 2May 18 Linux: 0 Mac: 0 Windows: 1May 17 Linux: 0 Mac: 0 Windows: 5May 16 Linux: 1 Mac: 1 Windows: 3May 15 Linux: 0 Mac: 2 Windows: 2May 14 Linux: 0 Mac: 2 Windows: 0May 13 Linux: 0 Mac: 1 Windows: 5May 12 Linux: 0 Mac: 0 Windows: 5May 11 Linux: 0 Mac: 2 Windows: 2May 10 Linux: 0 Mac: 1 Windows: 4May 9 Linux: 0 Mac: 0 Windows: 1May 8 Linux: 1 Mac: 2 Windows: 6May 7 Linux: 0 Mac: 2 Windows: 2May 6 Linux: 1 Mac: 0 Windows: 3May 5 Linux: 0 Mac: 4 Windows: 4May 4 Linux: 0 Mac: 0 Windows: 1May 3 Linux: 0 Mac: 1 Windows: 2

Readme

Source
raw.​githubusercontent.​com

Highlighter

No Maintenance Intended

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]"
}