Microsoft/vscode

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

Open

#58 987 ouverte le 19 sept. 2018

Voir sur GitHub
 (17 commentaires) (18 réactions) (1 assigné)TypeScript (10 221 forks)batch import
bughelp wantedtypescript

Métriques du dépôt

Stars
 (74 848 stars)
Métriques de merge PR
 (Merge moyen 11h 43m) (1 000 PRs mergées en 30 j)

Description

  • 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

Guide contributeur