Formatting support
@CsCherrYY ci sta già lavorando.
Dal 20/3/2023.
Valutazione
Questa issue non è ancora stata valutata.
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.urlandjava.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?
- Deprecate existing
- Migrate "VS Code formatter settings preview" to vscode-java
- The description of the configuration
java.format.settingsshould contain a markdown command to the preview UI
- The description of the configuration
- Introduce new VS Code configuration:
- Other features should respect correct formatter options (especially indentation & tab/space)
- Code Action/refactoring/quickfix
- Paste handler
P2
- New capabilities
- Transformed from IntelliJ formatter settings https://github.com/redhat-developer/vscode-java/issues/998
- Cooperate/integration with "Clean-up"
- Some features in formatter from IntelliJ side can be found in "Clean-up" from eclipse side, e.g., add braces in if statement: https://github.com/redhat-developer/vscode-java/issues/2846
- Quick fixes for detected formatting problems
- AST sync issue
P3
- New capabilities
- Checkstyle support
- Google-java-format support
- Persistence: export VS Code formatter settings into other IDE’s scheme
- Lingua principale
- TypeScript
- Stelle
- 352
- Fork
- 166
- Merge medio
- 17h 47m
- PR unite (30g)
- 32
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/vscode-java-pack
-
Memory Leak in Linux Apertaai-triaged bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
microsoft/vscode-java-pack#1543 · 8 commenti · 4 reazioni ·
-
ai-triaged bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
microsoft/vscode-java-pack#1443 · 1 commento · 2 reazioni ·
-
ai-triaged bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
microsoft/vscode-java-pack#1425 · 1 commento ·
-
ai-triaged enhancement feature-request
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
microsoft/vscode-java-pack#1423 · 2 commenti · 1 reazione ·
-
ai-triaged area/jdtls bug needs-investigation
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
microsoft/vscode-java-pack#1420 · 1 commento ·
Tutte le issue di microsoft/vscode-java-pack
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
bug v2
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
modelcontextprotocol/inspector#2458 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
carbon-design-system/ibm-products#9907 ·