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

Navigate all files does not work when code is not in C:\ drive #148

Open
controlsguy2020 opened this issue Aug 24, 2022 · 2 comments
Open
Labels
bug schemes Related to the Uri.scheme concept
Milestone

Comments

@controlsguy2020
Copy link

controlsguy2020 commented Aug 24, 2022

Steps to reproduce:

  1. Create a VS Code workspace from a folder in C:
  2. Create a new folder in D: and add it to the workspace
  3. Place two files in the new folder in D:
  4. Bookmark a line in file 1
  5. Bookmark a line in file 2
  6. Try to navigate between bookmarks

It will fail with error message as follows:
cannot open file:///c%3A/D%3A/myProject/app1.py. Detail: Unable to read file 'c:\D:\myProject\app1.py' (Error: Unable to resolve nonexistent file 'c:\D:\myProject\app1.py')

@controlsguy2020
Copy link
Author

Error might be caused by use of workspace.rootPath

Refer this issue:
microsoft/vscode-go#2713 (comment)

@alefragnani alefragnani added the bug label Sep 6, 2022
@alefragnani
Copy link
Owner

Hi @controlsguy2020 ,

It seems to be the same error as reported here alefragnani/vscode-bookmarks#397, which makes sense, because both extensions shares the same engine behind the hood.

Once I fix one, I can apply the same path to the other

Thanks for reporting

@alefragnani alefragnani added this to the Backlog milestone Apr 4, 2024
@alefragnani alefragnani added the schemes Related to the Uri.scheme concept label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug schemes Related to the Uri.scheme concept
Projects
None yet
Development

No branches or pull requests

2 participants