崇高文本中基于缩进的颜色编码背景

K..*_*K.. 3 sublimetext2

我大量使用带有句法空格的语言(LiveScript、Emblem、Stylus、YAML)

有没有办法配置缩进的背景?

我读到我可以为这些微小的压痕线着色,但这还不够。

这是我在想什么的模型:

在此处输入图片说明

Tay*_*der 5

我也在寻找这个,我想简单地根据有多少行改变缩进区域的背景颜色会很棒。我不知道该怎么做,但我确实在这里找到了类似的解决方案:

https://github.com/buymeasoda/soda-theme/issues/153

这会让你看起来像这样的行: 彩色压痕的图像

具体来说,该页面说:

Just add these settings to Monokai Soda.tmTheme file in settings dictionary, displayed in screenshot

<key>guide</key>
<string>#92003b</string>
<key>activeGuide</key>
<string>#7fb11b</string>
<key>stackGuide</key>
<string>#635f2d</string>
Run Code Online (Sandbox Code Playgroud)

上述页面的另一位用户说如下:

Just wanted to point out to others, that you'll need to enable "draw_active", in user prefs, like so:

"indent_guide_options":
[
    "draw_normal",
    "draw_active"
],
Run Code Online (Sandbox Code Playgroud)

他们还在上面的链接中引用了这个页面: http //wesbos.com/sublime-text-indentation-guide-lines/

这些选项看起来会有所帮助,但它们并不是您问题的确切答案。我绝对想看到像你提到的那样的东西。