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

xref jump fails on Tramp opened files #413

Closed
TrunovS opened this issue Feb 16, 2022 · 2 comments · Fixed by #432
Closed

xref jump fails on Tramp opened files #413

TrunovS opened this issue Feb 16, 2022 · 2 comments · Fixed by #432

Comments

@TrunovS
Copy link

TrunovS commented Feb 16, 2022

I observe some strange behavior with xref backend which doesn't shows with obsolete dumb-jump-go.
When working over Tramp, through xref, jump to candidate goes in context of local machine, and opening local buffer as no such file exists.
The same jump to candidate through obsolete dumb-jump-go works just fine.
xref-file-name-display has no power here too: project-relative, abs

@mrunhap
Copy link

mrunhap commented Jun 13, 2022

Same issue here, when I use xref to jump to def it jump to local dir and it does not exist, and emacs say

Use M-x make-directory RET RET to create the directory and its parents

@gsingh93
Copy link
Contributor

This patch fixes this issue for me: #432

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

Successfully merging a pull request may close this issue.

3 participants