如何在 android studio 中将空白字符显示为 Eclipse 工具
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25500123/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to show White Space character in android studio as Eclipse tool
提问by Huy Tower
I know where to show White Space character(Image 1) in Eclipse.
我知道White Space character在 Eclipse 中显示(图 1)的位置。


Image 2 indicated what I want to show same as in Android Studio tool.

图 2 显示了我想在 Android Studio 工具中显示的内容。

I don't know where to set White Space characterin Android Studio.
我不知道White Space character在 Android Studio 中设置的位置。
Please help me.
请帮我。
Thanks,
谢谢,
回答by PageNotFound
Before Android Studio 1.2:
在 Android Studio 1.2 之前:
File->Settings->in IDE-Settings, Editor->Appearance->toggle Show whitespaceson
File-> Settings->in IDE-Settings,Editor-> Appearance->Show whitespaces开启
After Android Studio 1.2:
File->Settings->Editor->General->in Appearance->toggle Show whitespaceson
在 Android Studio 1.2 之后:
File-> Settings-> Editor-> General->in Appearance->toggle Show whitespaceson
Or just search show whitespacesin searchbox in Settings, you can also find the way to show white space.
或者直接show whitespaces在搜索框里搜索Settings,你也可以找到显示空白的方式。
回答by codingjeremy
Android Studio 1.2
安卓工作室 1.2
File > Settings > Editor > General > Appearance > toggle "Show Whitespace"
文件 > 设置 > 编辑器 > 常规 > 外观 > 切换“显示空白”

