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

cannot open jsconfig.json. Detail: file already exists on disk #6709

Closed
IgorNovozhilov opened this issue May 24, 2016 · 3 comments
Closed

cannot open jsconfig.json. Detail: file already exists on disk #6709

IgorNovozhilov opened this issue May 24, 2016 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Milestone

Comments

@IgorNovozhilov
Copy link

IgorNovozhilov commented May 24, 2016

  • VSCode Version: 1.1.1- insider
  • OS Version: win7

Steps to Reproduce:

  1. project path: D:#MYGIT\ndk
  2. click to add jsconfig.json in popup message

ERROR:
cannot open untitled:d%3A%5C#MYGIT%5Cndk%5Cjsconfig.json. Detail: file already exists on disk
2016-05-24_08h47_15

@jrieken jrieken self-assigned this May 24, 2016
@jrieken jrieken added the bug Issue identified by VS Code Team member as probable bug label May 24, 2016
@jrieken jrieken added this to the May 2016 milestone May 24, 2016
@jrieken
Copy link
Member

jrieken commented May 25, 2016

The issue is stupid URI math we do here: https://github.com/Microsoft/vscode/blob/master/extensions/typescript/src/utils/projectStatus.ts#L103. The path we simply concat contains a # and therefore becomes a fragment path.

@jrieken
Copy link
Member

jrieken commented May 25, 2016

We should consider adding more uri modification methods (#6678) such that we don't run into this so easily...

@jrieken jrieken assigned isidorn and unassigned jrieken May 26, 2016
@jrieken
Copy link
Member

jrieken commented May 26, 2016

verifier have a workspace folder that contains a # character

@isidorn isidorn added the verified Verification succeeded label May 26, 2016
@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
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants