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

Magit status does not open files in WSL / Windows #283

Open
jsb05 opened this issue Nov 13, 2023 · 1 comment
Open

Magit status does not open files in WSL / Windows #283

jsb05 opened this issue Nov 13, 2023 · 1 comment

Comments

@jsb05
Copy link

jsb05 commented Nov 13, 2023

I run VS Code natively on Windows as recommended and connect to Ubuntu via WSL extension. All my code projects lie within WSL. Magit status buffer opens but navigation to a file and thus diffing doesn't work. The problem doesn't exist for files on Windows. The error message is as follows:

cannot open vscode-remote://wsl%2Bubuntu/layers/%2Bemacs/org/packages.el. Detail: Unable to read file 'vscode-remote://wsl+ubuntu/layers/+emacs/org/packages.el' (Error: Unable to resolve nonexistent file 'vscode-remote://wsl+ubuntu/layers/+emacs/org/packages.el')

Any idea how to solve this issue? I already tried to reset VS Code by deleting ~/.vscode-server on ubuntu, reinstalling Vspacecode extension and restarting the application. If it helps, VS Code was installed via scoop in Windows.

@jsb05
Copy link
Author

jsb05 commented Nov 13, 2023

For a test, I uninstalled VS code completely and installed VS Code natively on Windows using the installer from the official website. Then installed only edamagit and opened local emacs.d folder on Windows. Magit-status works as expected but files still can't be visited/opened. Please check the attached image. So it's not just WSL.

Screenshot 2023-11-13 220516

@jsb05 jsb05 changed the title Magit status does not open files in WSL Magit status does not open files in WSL / Windows Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant