microsoft / microsoft/vscode-java-pack
Formatting support
オープン
@CsCherrYY がすでに取り組んでいます。
2023年3月20日 から。
ai-triaged
enhancement
formatter
- 主要言語
- TypeScript
- スター
- 352
- フォーク
- 166
- 平均マージ
- 17時間 47分
- マージ済み PR(30日)
- 32
説明
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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。