Text Spaces / Invisible - Show Spaces

Is there a way to show Soft Tabs (spaces) in TextMate? View β†’ Show Invisibles works well for tracking indentation if you use tabs for indentation. Unfortunately, in languages ​​where indentation is semantic, you usually have to use spaces. (Python, YAML, HAML, CoffeeScript)

Any suggestions for showing this space or tracking padding in TextMate? Should I keep holding Textmate2?

Alternative strategies and suggestions are also welcome.

+7
source share
2 answers

the latest version in TextMate 2 highlights spaces when Show Invisibles enabled.

invisibles


EDIT:

You can even configure which ones are invisible to display, with which symbol, by changing the invisiblesMap property in the .tm_properties file.

From the TextMate change log:

This may be a string that is used to control glyphs for invisible characters. Add either \n , \t , or a space to the string, and then the glyph that should be used to render the character, or prefix it with ~ to disable rendering of that character. For example, to disable rendering of spaces and display tabs as β”Š , add this to .tm_properties : invisiblesMap = "~ \tβ”Š" .

Sidenote:

THIS IS NOT A USED CASE, functionality has been restored.

According to Journal 2013-10-23 (v2.0-alpha.9489): "Show Invisibles will no longer treat the space as invisible (which was added in the previous build), as it caused rights issues, to-left and combination of labels, used after spaces. The function can be returned, but must be implemented differently. "

+13
source

You can use soft tabs - as described here . I also have a problem to find it when I need this function;)

-one
source

All Articles