eclipse.platform.ui icon indicating copy to clipboard operation
eclipse.platform.ui copied to clipboard

can't show full input positions on eclipse status bar

Open takeseem opened this issue 9 months ago • 4 comments

can't show full input positions on eclipse status bar

Image

takeseem avatar Feb 27 '25 12:02 takeseem

I think the info order is : input position > input mode > element state > find field.

Image

in debug I change the init STATUS_FIELD_DEFS, It's better.

STATUS_FIELD_DEFS[1]=STATUS_FIELD_DEFS[2]
STATUS_FIELD_DEFS[2]=STATUS_FIELD_DEFS[3]
STATUS_FIELD_DEFS[3]=new StatusFieldDef(ITextEditorActionConstants.STATUS_CATEGORY_ELEMENT_STATE, null, true, StatusLineContributionItem.DEFAULT_WIDTH_IN_CHARS + 1)

Image

  • find:20, input mode:10, input position:16, state:10

Image

takeseem avatar Feb 27 '25 13:02 takeseem

Hi @takeseem I have tried on the latest eclipse version and older one as well, but not able to see the problem of "incomplete status bar" on both of them.

  • Version: 2025-06 (4.36), Build id: I20250317-1800 Image

  • older one => Version: 2024-12 (4.34), Build id: I20241120-1800 Image

deepika-u avatar Mar 19 '25 12:03 deepika-u

your can add others to status bar. see the right area of under image

Image

takeseem avatar Mar 19 '25 14:03 takeseem

非常抱歉,我不太会英文。我的意思是,默认的实现中各个部分的 widthChars比例设置不合理,导致 状态栏空间不足时,最常用的 光标的列信息没有空间显示。上图是我在 debug 模式中调整了 widthChars 比例和各个栏位的顺序后的显示。这样就算空间不足,关键信息也能显示。

takeseem avatar Mar 19 '25 14:03 takeseem