eclipse 如何在 Aptana Studio 的文本编辑器中激活自动换行?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2990550/
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 do I activate word wrapping in text editor in Aptana Studio?
提问by sorin
How do I activate line wrapping in text editor in Aptana Studio?
如何在 Aptana Studio 的文本编辑器中激活换行?
I'm interested about wrapping in view mode (in order to not have to do horizontal scrolling).
我对在视图模式下换行感兴趣(为了不必进行水平滚动)。
回答by Robertson Odom
Tried right-clicking within the editor and selecting ‘word wrap' from the context menu?
尝试在编辑器中右键单击并从上下文菜单中选择“自动换行”?
回答by James
On Main Menu click "Window" choose "Preferences". In left-side list, click "Aptana Studio". An alphabetical list on right side will show. Select "Editors" then check "Enable word wrap (requires restart)".
在主菜单上单击“窗口”选择“首选项”。在左侧列表中,单击“Aptana Studio”。右侧会显示按字母顺序排列的列表。选择“编辑器”,然后选中“启用自动换行(需要重新启动)”。
It seems to work on the latest version of Aptana as well. Hereare some screenshots of where you can find such option.
它似乎也适用于最新版本的 Aptana。以下是您可以在何处找到此类选项的一些屏幕截图。
回答by kretzm
I'm using Aptana Studio 3 and you can right click anywhere in the code and select Word Wrap which should be the second last option.
我正在使用 Aptana Studio 3,您可以右键单击代码中的任意位置并选择 Word Wrap,这应该是倒数第二个选项。
回答by bakalov
I'm using Aptana Studio 3, build: 3.4.2 and found that 'word wrap' can be change with in editor from context menu, BUT only if the mouse are on line number field! If the mouse is on text editor the option 'word wrap' missing. This change only setting for current opened file. It will be good to change default option !
我正在使用 Aptana Studio 3,构建:3.4.2,发现可以在编辑器中从上下文菜单中更改“自动换行”,但仅当鼠标位于行号字段时!如果鼠标在文本编辑器上,则缺少“自动换行”选项。此更改仅为当前打开的文件设置。更改默认选项会很好!
回答by E-man
Window > Preferences > Aptana > Editors...
Actually click on the word "Editors", you don't need to click the "+" symbol next to it. Once that loads, go to the "Advanced" tab, and you should see the option you're looking for to enable word wrap.
实际上点击“Editors”这个词,你不需要点击它旁边的“+”符号。加载后,转到“高级”选项卡,您应该会看到要启用自动换行的选项。
Found that here. http://forums.aptana.com/viewtopic.php?f=14&t=7482
在这里找到了。 http://forums.aptana.com/viewtopic.php?f=14&t=7482
Once you restart, you should be good to go.
重新启动后,您应该就可以开始使用了。