Microsoft/vscode

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

開放

#58,987 建立於 2018年9月19日

 (17 則留言) (18 個反應) (1 位負責人)TypeScript (39,847 個分叉)batch import
bughelp wantedtypescript

倉庫指標

星標
 (184,936 顆星)
PR 合併指標
 (平均合併 11小時 43分鐘) (30 天內合併 1,000 個 PR)

描述

  • 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

貢獻者指南