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

Diagnostics Not Shown for Files Opened Through ProxyCommand #1134

Open
YoshikiTakashima opened this issue Dec 25, 2024 · 3 comments
Open

Diagnostics Not Shown for Files Opened Through ProxyCommand #1134

YoshikiTakashima opened this issue Dec 25, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@YoshikiTakashima
Copy link

YoshikiTakashima commented Dec 25, 2024

Hi

I have a VM that I access by jumping through a host user. My .ssh/config is the following.

Host jump
     Hostname HOST_MACHINE_ADDR
     Port 22
     User jump

Host vm
     Hostname VM_INTERNAL_ADDR
     User myuser
     ProxyCommand ssh -W %h:%p jump

If I run lsp_bridge.py in vm and open files like vm:~/tmp.py, error diagnostics do not show. Strangely, autocomplete works fine. I checked with another machine that doesn't need ProxyCommand to reach and both diagnostics and autocomplete work fine.

  • Is there something I am doing wrong in the ProxyCommand?
  • If this is not supported, which file should I look into to add the feature?

Thanks

@manateelazycat
Copy link
Owner

@werhner Can you help this issue? Thanks

@manateelazycat manateelazycat added the help wanted Extra attention is needed label Jan 1, 2025
@manateelazycat
Copy link
Owner

@YoshikiTakashima Can you add some print code in lsp-bridge-diagnostic--render to debug it ?

@YoshikiTakashima
Copy link
Author

@manateelazycat Sorry I missed your message. Let me give that a try next week after some deadlines.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants