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

贡献者指南