是否有Eclipse线宽标记? [英] Is there an Eclipse line-width marker?
问题描述
我没有看到任何选项在日食中打开它,我没有看到任何插件在Eclipse插件中心执行
查看Windows /首选项(至少在Windows上 - IIRC它为不同的操作系统移动)然后:
常规 - >编辑 - >文本编辑器 - >显示打印保证金
勾选此项,它应显示该行。
作为一种快速查找方式,请使用顶部的搜索过滤器,然后过滤margin。
I have a specific project where I need to wrap every code line at 65 characters. I have set up the eclipse Java code formatter properly for this. But what I really want is a vertical line to be drawn in the editor showing where the max line width while I am typing, not just when I run the formmater. I know this feature is available in some capacity because it is displayed in the code formatter property page.
I don't see any option in eclipse to turn this on and I didn't see any plug-ins that do it on Eclipse Plugin Central
Look in Windows / Preferences (at least on Windows - IIRC it moves around for different operating systems) then:
General -> Editors -> Text Editors -> Show Print Margin
Tick this and it should show the line.
As a quick way of finding this, use the search filter in the top and filter on "margin".
这篇关于是否有Eclipse线宽标记?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!