Sublime Text 2 - 查看空白字符 [英] Sublime Text 2 - View whitespace characters

查看:22
本文介绍了Sublime Text 2 - 查看空白字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Sublime Text 如何显示不可打印的字符(我对空格和制表符感兴趣)?

How can Sublime Text show non printable characters (I'm interested in SPACEs and TABs)?

推荐答案

查看空格的设置是:

// Set to "none" to turn off drawing white space, "selection" to draw only the
// white space within the selection, and "all" to draw all white space
"draw_white_space": "selection",

如果您进入 Preferences->Settings Default,您可以看到它.如果您编辑您的用户设置(首选项 -> 设置 - 用户)并按照以下方式添加行,您应该得到您想要的:

You can see it if you go into Preferences->Settings Default. If you edit your user settings (Preferences->Settings - User) and add the line as per below, you should get what you want:

{
    "color_scheme": "Packages/Color Scheme - Default/Slush & Poppies.tmTheme",
    "font_size": 10,
    "draw_white_space": "all"
}

记住设置是 JSON,所以没有尾随逗号.

Remember the settings are JSON so no trailing commas.

这篇关于Sublime Text 2 - 查看空白字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆