redhat-developer / redhat-developer/vscode-java
Format document doesn't work when document is not saved
オープン
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
Formatting the document does not work when the document is not saved to disk.
Environment
- Operating System: Windows 11
- JDK version: 11
- Visual Studio Code version: 1.91.1
- Java extension version: v1.32.0
Steps To Reproduce
- File >> New Text File
- Put some Java code in the new document that would be changed by formatting. If the language mode is not automatically detected as Java, set it manually.
- Right-click anywhere in the document and click Format document.
Current Result
Nothing happens.
Expected Result
The code gets formatted.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
報告ではファイルもテストも指定されていません。まず、指定された VS Code セットアップ上の新しい未保存の Java ドキュメントでフォーマットの失敗を再現し、その後 format-document のエントリーポイントを追跡してください。同じ Java コードが保存前に正常にフォーマットされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, vscode
- 領域
- developer-experience
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100