All projects

SublimeCycleWhiteSpace

Cycle's through Sublime Text's three options for displaying white space: none, selection, and all.

Cycle's through Sublime Text's three options for displaying white space: none, selection, and all.

Features

Installation

Install The Plugin

Clone into your sublime packages directory.

OR, use Package Control, Cycle Through Whitespace.

Install Requirements

Configuration

CycleThroughWhitespace.sublime-settings

Turn each option on or off here. If you want to alternate all three view options from your shortcut key, then set each to true. If you only want to alternate between selection and all, set only those two properties to true.

{
    // Can be one or more of the following: "none", "selection", or "all"
    "cycle_whitespace": [ "none", "selection", "all" ]
}

Default (Windows).sublime-keymap

My default key bindings mirror that of Visual Studio. Feel free to change it to whatever you want.

[
    { "keys": ["ctrl+r", "ctrl+w"], "command": "cycle_through_whitespace" }
]

Authors

Many thanks to skuroda for his extremely helpful comment on Stack Overflow.

wasatchwizard skuroda