Android工作室 - 包装容器

时间:2013-06-20 14:28:14

标签: android-studio

Android工作室中是否存在类似于Eclipse的“包装容器”功能?

enter image description here

3 个答案:

答案 0 :(得分:2)

You can use soft wrap, first solution is right click on the left of line where show line numbers and check Use Soft Wraps.

enter image description here

Another way is set it from:

File > Settings > Editor > General > Use soft wraps in editor

Also You can set Right margin for your editor from :

File > Settings > Editor > Code Style > Right margin (columns)

答案 1 :(得分:0)

在窗口小部件上,按alt + enter并选择所需的内容!

enter image description here

答案 2 :(得分:0)

对于 Mac ... 同上,但使用 option+Enter。