Microsoft/vscode

moving TypeScript files in explorer fails to update/prompt imports when containing folder is moved

オープン

#58,987 opened on 2018/09/19

 (17 件のコメント) (18 件のリアクション) (1 人の担当者)TypeScript (39,847 件のフォーク)batch import
bughelp wantedtypescript

Repository metrics

Stars
 (184,936 個のスター)
PR merge metrics
 (平均マージ 11h 43m) (30d で 1,000 merged PRs)

説明

  • VSCode Version: 1.27.2
  • OS Version: Win 10
  • Typescript: 3.0.3

Steps to Reproduce:

  1. Set update imports on move typescript setting to prompt
  2. Create an empty project with 2 typescript files, one importing from the other.
  3. In the explorer manually move the depended upon file to a new directory. You will be prompted to update the import. This works fine.
  4. Now move that directory into ANOTHER new directory.
  5. This time there is no prompt and the import will be broken

コントリビューターガイド