Console and Search views: use a distinct part name per view instance
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with ConsoleView and SearchView, and compare how TerminalsView::createPartControl derives a name from IViewSite::getSecondaryId. The issue offers two options (secondary-id numbering or asking the user for a name, as the Problems view does) and does not choose one, so settle that with maintainers first. Done means each open instance of these views gets a distinct part name.
由索引模型根据 Issue 内容生成。
描述
Let's make sure issue is not already fixed in latest builds first.
- I verified latest Integration Build of Eclipse SDK doesn't provide the feature.
Suggestion
When several Console or Search views are open, their tabs all show the same name, so they can't be told apart:
The screenshot shows multiple [Console / Search] views with identical tab names, next to Terminal and Problems views, which each handle this in their own way.
Proposal
Give each instance of ConsoleView and SearchView a distinct part name. There are two existing patterns to follow:
- Numbered names, as in the Terminal view. Derive the name from the
IViewSite::getSecondaryIdwhen one is present, in the same wayTerminalsView::createPartControldoes. This needs no user interaction. - User-provided names, as in the Problems view. Ask the user for a name when an additional view is opened. This gives more meaningful names, at the cost of an extra step.
Related
Once https://github.com/eclipse-platform/eclipse.platform.ui/pull/4459 is merged, the Ctrl+F7 view switcher will show whatever part name a view sets, so distinct names would make these views distinguishable there as well.
Community
- I understand suggesting an enhancement doesn't mandate anyone to implement it. Other contributors may consider this suggestion, or not, at their own convenience. The most efficient way to get it fixed is that I implement it myself and contribute it back as a good quality patch to the project.
- 主要语言
- Java
- 星标
- 165
- 派生
- 174
- 平均合并
- 2 天 17 小时
- 30 天内合并 PR
- 43
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
eclipse-platform/eclipse.platform 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 66/100
eclipse-platform/eclipse.platform#3019 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
eclipse-platform/eclipse.platform#2940 ·
维护者通常 1 天内回复
-
Terminal views all show same name 'Terminal' in Ctrl+F7 view switcher popup可能已有人在做 @ravnskjaer 于 5 天前认领。 未关闭bug good first issue help wanted
难度 2/5 1-3 小时 新手友好度 68/100
eclipse-platform/eclipse.platform#2774 · 4 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
eclipse-platform/eclipse.platform#2593 · 7 条评论 ·
维护者通常 1 天内回复
-
bug regression
难度 3/5 1-2 天 新手友好度 56/100
eclipse-platform/eclipse.platform#3022 · 8 条评论 ·
维护者通常 1 天内回复
查看 eclipse-platform/eclipse.platform 的全部 Issue
相似的 Issue
-
`timer` rule rejects dates the engine accepts可能已有人在做 @MFA-G 今天认领。 未关闭bug ready
难度 2/5 1-3 小时 新手友好度 72/100
camunda/bpmnlint-plugin-camunda-compat#281 · 3 条评论 ·
维护者通常 1 天内回复
-
status: waiting-for-triage
难度 2/5 1-3 小时 新手友好度 72/100
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
AOT compilation fails for derived delete queries returning Set可能已有人在做 @ryujungkyun 今天认领。 未关闭status: waiting-for-triage
难度 2/5 1-3 小时 新手友好度 72/100
spring-projects/spring-data-jpa#4387 ·
维护者通常 3 天内回复