Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Console and Search views: use a distinct part name per view instance

Abierto
#3,000 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
java
Área
desktop

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement

Let's make sure issue is not already fixed in latest builds first.

Suggestion

When several Console or Search views are open, their tabs all show the same name, so they can't be told apart:

Image

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:

  1. Numbered names, as in the Terminal view. Derive the name from the IViewSite::getSecondaryId when one is present, in the same way TerminalsView::createPartControl does. This needs no user interaction.
  2. 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.
Lenguaje dominante
Java
Estrellas
165
Forks
174
Merge medio
2 d 16 h
PR fusionados (30 d)
45

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de eclipse-platform/eclipse.platform

Todos los issues de eclipse-platform/eclipse.platform

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.