Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

Symlinks wreak havoc #861

Open
nsabovic opened this issue Jan 18, 2019 · 0 comments
Open

Symlinks wreak havoc #861

nsabovic opened this issue Jan 18, 2019 · 0 comments

Comments

@nsabovic
Copy link

I'm working on Gstreamer project, and the build system generates a few symlinks to the directories inside the projects (like gst-plugins-base -> ../subprojects/gst-plugins-base). Opening the original file works, opening through the symlink doesn't, and generates errors like these:

[Error - 12:48:45 PM] Request textDocument/documentLink failed.
  Message: Unable to find file /Users/me/projects/gstreamer-utilities/gst-build/gst-plugins-base/gst/encoding/gstencodebin.c
  Code: -32603 
[Error - 12:48:45 PM] Request textDocument/codeAction failed.
  Message: Unable to find file /Users/me/projects/gstreamer-utilities/gst-build/gst-plugins-base/gst/encoding/gstencodebin.c
  Code: -32603 
[Error - 12:48:45 PM] Request textDocument/codeLens failed.
  Message: Unable to find file /Users/me/projects/gstreamer-utilities/gst-build/gst-plugins-base/gst/encoding/gstencodebin.c
  Code: -32603 
[Error - 12:48:45 PM] Request textDocument/hover failed.
  Message: Unable to find file /Users/me/projects/gstreamer-utilities/gst-build/gst-plugins-base/gst/encoding/gstencodebin.c
  Code: -32603 

Would it make sense to try to open the absolute path in case of failure instead of erring out?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant