microsoft / microsoft/vscode-java-pack

Formatting support

Aperta
#1,176 5 commenti 1 reazione 1 assegnatario Vedi su GitHub

@CsCherrYY ci sta già lavorando.

Dal 20/3/2023.

ai-triaged enhancement formatter
Lingua principale
TypeScript
Stelle
352
Fork
166
Merge medio
17h 47m
PR unite (30g)
32

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.