microsoft / microsoft/vscode-java-dependency

Could not auto close unsaved editor when delete

オープン
#347 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug upstream
主要言語
TypeScript
スター
199
フォーク
105
平均マージ
1日 22時間
マージ済み PR(30日)
27

説明

The newly added "delete" feature #343 works well when we try to delete unchanged files. However, if we try to delete file with unsaved changes, the editor will not be closed and will looks like below:

image

This is not consistent with native file explorer's behavior and may also cause user lose their changes before deletion. However, this part is hard to fix due to API limitation, since many needed functions are encapsulated within the implementation of VS Code built-in commands. If microsoft/vscode#107566 could be solved, we can fix this problem easily.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

issue #343 の削除機能から始め、VS Code 拡張機能で未保存の変更があるファイルの削除を再現します。API の制限を理解するために microsoft/vscode#107566 を読みます。完了条件は、未保存の変更を危険にさらすことなく、エディターがネイティブのファイル エクスプローラーの動作と一貫して閉じることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript, vscode
領域
tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。