-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Feature request: hover results on clang #includes
paths
#21838
Comments
This is something that gets requested a lot at our firm, it would be great to get it in a future release |
@northyg this came up in triage, and I'm trying to understand what the original issue is. I'm a bit confused, because the issue title mentions supporting relative paths in Is this about:
Thanks! |
@northyg @alexfogg resurfacing this thread as per @lguychard 's comment above it's a bit unclear where this should fall in terms of ownership. Thanks! |
Giving this a quick refresher -- To re-summarize in languages like Java we can resolve hovers for imports, for example: What is desired here is the same behavior for C Here a hover on @varungandhi-src any chance you can provide insights about the feasibility of implementing this request? |
Had a quick chat with Varun -- this feature is on the roadmap for planned work on scip-clang |
#includes
paths
Fixed in sourcegraph/scip-clang#166. I will be publishing a scip-clang release next week, which (ahem) includes this. Example: sourcegraph.com/github.com/ninja-build/ninja/-/blob/src/graph.h?L23:10-23:20#tab=references |
Feature request description
Filing this feature request on behalf of a customer. Essentially in this case C/C++ files are not showing their corresponding files because customer is using relative paths.
Example that doesn't work because of the path:
#include <../dir1/file.cc>
Because of this, the def/finds refs popup does not work.
It's my understanding that this functionality works in similar products to Sourcegraph, such as OpenGrok. Having this functionality would be incredibly useful!
The text was updated successfully, but these errors were encountered: