microsoft / microsoft/vscode-java-pack

Feature request: Improve output console color scheme

Abierto
#1,127 11 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

ai-triaged discussion enhancement feature-request spring ux
Lenguaje dominante
TypeScript
Estrellas
352
Forks
166
Merge medio
17 h 47 min
PR fusionados (30 d)
32

Descripción

For Spring Boot projects, the debug output console should have a nice coloring theme by default, which is not the case currently.
With default settings, all text is a single color which is not very readable.
There is a related StackOverflow question regarding this: https://stackoverflow.com/questions/62280290/provide-color-theme-to-the-java-process-console-in-the-terminal-of-vscode-whil

Currently, there are two (easy, but not scalable) ways how to achieve the desired coloring:

  1. Add spring.output.ansi.enabled=ALWAYS to application.properties file -> The issue with this approach is that it has to be set up for each project and it just adds unnecessary complexity to application.properties.
  2. Add "args": "--spring.output.ansi.enabled=ALWAYS" in launch.json -> This issue with this approach is that it also needs to be set up per-project basis and it is not so easy to share configuration as .vscode directory is not within version control scope.

Proposed Solution
I suggest a solution that VS Code pass "args": "--spring.output.ansi.enabled=ALWAYS" by default for Spring Boot projects. There should be an option to control it (on/off) maybe within settings.json

Before
before
After
after

@nickzhums Please review.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

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.

Línea de trabajo

Comienza rastreando cómo Java extension gestiona las Spring Boot launch configurations y cómo se ensamblan los argumentos de launch.json; compara los enfoques de application.properties y launch.json descritos aquí. Define el comportamiento de activación/desactivación de settings.json y, después, verifica que un Spring Boot project reciba ANSI output de forma predeterminada y que la opción pueda desactivarlo.

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

Evaluación

Stack tecnológico
java, spring-boot, typescript, vscode
Área
developer-experience, tooling
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.