【发布时间】:2014-12-03 14:03:03
【问题描述】:
我大量使用带有句法空格的语言(LiveScript、Emblem、Stylus、YAML)
有没有办法配置缩进的背景?
我读到我可以为这些细小的缩进线着色,但这还不够。
这是我正在考虑的模型:
【问题讨论】:
标签: sublimetext2
我大量使用带有句法空格的语言(LiveScript、Emblem、Stylus、YAML)
有没有办法配置缩进的背景?
我读到我可以为这些细小的缩进线着色,但这还不够。
这是我正在考虑的模型:
【问题讨论】:
标签: sublimetext2
我也在寻找这个,我想根据行数来简单地改变缩进区域的背景颜色会很棒。我不知道该怎么做,但我确实在这里找到了类似的解决方案:
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>
上述页面的另一位用户说以下内容:
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"
],
他们还在上面的链接中引用了这个页面: http://wesbos.com/sublime-text-indentation-guide-lines/
这些选项看起来会有所帮助,但它们并不是您问题的准确答案。我绝对希望看到像你提到的那样的东西。
【讨论】: