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
Inverse-search gives wrong path inside WSL #1049
Comments
I don't use WSL so I don't directly debug the issue right now, but we do have a |
Yea, it is exactly for setting up vimtex in wsl, but for some reason it doesn't fix my problem. I tried set
in repo we can see some comments about what #ifdef Q_OS_WIN
// the path returned by synctex is formatted in unix style, for example it is something like this
// in windows: d:/some/path/file.pdf
// this doesn't work with Vimtex for some reason, so here we have to convert the path separators
// to windows style and make sure the driver letter is capitalized
QDir file_path = QDir(file_name);
QString new_path = QDir::toNativeSeparators(file_path.absolutePath());
new_path[0] = new_path[0].toUpper();
if (VIMTEX_WSL_FIX) {
new_path = file_name;
}
#endif It's confusing because, as far as I understand people already using |
Any updates on this? |
Inverse-search gives wrong path inside WSL
OS
Command Executed:
Expected Behavior:
Actual Behavior:
it's look like
/t
is perceived like tab and single forwardslash/
is ignoredThe text was updated successfully, but these errors were encountered: