Skip to content

TypeScript: When you rename a file you get "Duplicate identifier" error and need to restart vs code to fix it #7744

@dbaeumer

Description

@dbaeumer

From @AltekkeE on March 24, 2016 20:15

  • VSCode Version: 0.10.11
  • OS Version: OSX 10.11.3

Steps to Reproduce:

  1. create file: MyClass.ts
    class MyClass { }
    screen shot 2016-03-24 at 1 12 37 pm
  2. rename file to MyOtherClass.ts
    screen shot 2016-03-24 at 1 12 57 pm
  3. MyClass is now underlined in Red
  4. Error goes away if you restart vsCode

Copied from original issue: microsoft/vscode#4658

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions