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

Whitespaces

by gorte ST2

Whitespace highlighting for Sublime Text 2

Details

  • 2012.07.25.18.12.42
  • github.​com
  • github.​com
  • 10 years ago
  • 2 hours ago
  • 10 years ago

Installs

  • Total 6K
  • Win 2K
  • Mac 3K
  • Linux 1K
Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 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
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Description

Whitespace highlighting for Sublime Text 2.

Allows to:

  1. Highlight tabs and spaces
  2. Highlight line endings
  3. Show line ending icon in the gutter
  4. Show line ending type in the status bar

Options

See Whitespaces.sublime-settings

Changing Colors

You can define your own scopes in your theme file, for example:

<dict>
    <key>name</key>
    <string>Whitespaces.space</string>
    <key>scope</key>
    <string>Whitespaces.space.highlight</string>
    <key>settings</key>
       <dict>
           <key>background</key>
           <string>#232323</string>
           <key>fontStyle</key>
           <string></string>
           <key>foreground</key>
           <string>#ffffff</string>
       </dict>
</dict>
<dict>
    <key>name</key>
    <string>Whitespaces.tab</string>
    <key>scope</key>
    <string>Whitespaces.tab.highlight</string>
    <key>settings</key>
       <dict>
           <key>background</key>
           <string>#1c2a2d</string>
           <key>fontStyle</key>
           <string></string>
           <key>foreground</key>
           <string>#ffffff</string>
       </dict>
</dict>
<dict>
    <key>name</key>
    <string>Whitespaces.line_ending</string>
    <key>scope</key>
    <string>Whitespaces.line_ending.highlight</string>
    <key>settings</key>
       <dict>
           <key>background</key>
           <string>#3e1111</string>
           <key>fontStyle</key>
           <string></string>
           <key>foreground</key>
           <string>#eda24c</string>
       </dict>
</dict>