microsoft / microsoft/vscode-java-pack

Formatting support

Abierto
#1,176 5 comentarios 1 reacción 1 asignado Ver en GitHub

@CsCherrYY ya está trabajando en esto.

Desde el 20/3/2023.

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

Descripción

Typical Problems

  • Not easy to use or set up/Don't know how to configure or customize formatting option
  • The formatter settings don't take any effect/The formatter result is not as expected
  • Indentation problems: indentation should be overridden with formatter profile
  • Feature requests: support IntelliJ scheme, support google-java-format, support integrating checkstyle etc.

Work Items

P1
  • Introduce VS Code style formatter scheme
    • Introduce new VS Code configuration: java.format.settings
      • Deprecate existing java.format.settings.url and java.format.settings.profile
      • Accepts different formatter schemes (engines)
      • Keep compatibility with current custom profile path
      • Can configure some popular formatter rules
        • A subset of eclipse formatter settings, consist of The settings mentioned in existing Github issues
      • Relationship with VS Code indentation settings: Override?
    • Migrate "VS Code formatter settings preview" to vscode-java
      • The description of the configuration java.format.settings should contain a markdown command to the preview UI
  • Other features should respect correct formatter options (especially indentation & tab/space)
    • Code Action/refactoring/quickfix
    • Paste handler
P2
P3
  • New capabilities
    • Checkstyle support
    • Google-java-format support
  • Persistence: export VS Code formatter settings into other IDE’s scheme

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.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.