Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Same file opened twice with different filename casing #20594

Closed
markusjohnsson opened this issue Feb 14, 2017 · 2 comments
Closed

Same file opened twice with different filename casing #20594

markusjohnsson opened this issue Feb 14, 2017 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@markusjohnsson
Copy link

markusjohnsson commented Feb 14, 2017

  • VSCode Version: 1.9.0
  • OS Version: OS X 10.11.6

Steps to Reproduce:

  1. create file a.ts (note lower case)
import B from "B";
  1. create file b.ts (note lower case)
export default class B {}
  1. create file tsconfig.json
{
    "compilerOptions": {
        "module": "system"
    }
}
  1. save all files
  2. close all editors (cmd+w multiple times)
  3. open a.ts
  4. place cursor att the first B
  5. hit F12
  6. click on b.ts in explorer

Now b.ts is opened twice. Once as b.ts, once as B.ts and the two editors are independant with regards to save state.

image

@pitAlex
Copy link

pitAlex commented Feb 16, 2017

I'm experiencing a slightly different behavior related to files opening twice. I don't have an exact way on how to replicate it but with same system as mentioned above I often get the file I'm working on opened again in a new tab like in the following screenshot. It mostly happens when I press cmd+s.
screen shot 2017-02-17 at 12 45 13 am

@bpasero
Copy link
Member

bpasero commented Feb 19, 2017

#12448

@bpasero bpasero closed this as completed Feb 19, 2017
@bpasero bpasero added the *duplicate Issue identified as a duplicate of another issue(s) label Feb 19, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants