Bash ツールがファイル編集を処理する際、Bash ツールの結果にコマンドが変更したファイルの差分を含めるようにした(設定キー
bashEditDiffEnabled)英語原文を表示英語原文を閉じる
Added a diff of the files a Bash command changed to the Bash tool result when the Bash tool handles file edits (setting
bashEditDiffEnabled)変更後
Bash コマンド経由でファイル編集が行われた場合でも、その変更内容の diff を Bash ツールの結果内で確認できるようになる。sed やスクリプト実行などでファイルが書き換えられた際に、どの部分がどう変わったのかをすぐに把握できる。