cake-vscode icon indicating copy to clipboard operation
cake-vscode copied to clipboard

Find All References / CodeLens doesn't report usages from other files

Open augustoproiete opened this issue 4 years ago • 1 comments

Reported by @AndaBucsa in https://github.com/cake-build/cake/discussions/3171#discussioncomment-386116

I noticed however that Find All References / CodeLense doesn't report usages from other files, it only reports usages from the same file.


Needs investigation / repro to confirm behavior.

@bjorkstromm Is expected behavior / current limitation?

augustoproiete avatar Feb 20 '21 03:02 augustoproiete

That's currently a limitation by design.

If a.cake loads b.cake, when in the context of b.cake it's currently not possible to find references from a.cake as it's not in the current context.

bjorkstromm avatar Feb 20 '21 06:02 bjorkstromm