-
Notifications
You must be signed in to change notification settings - Fork 47
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
Find all References only list references in the current file and opened file #608
Comments
We would expect find all references to work across files, even if they were not open in the editor. |
here is a demo repo: https://github.com/smartcontractkit/ccip-starter-kit-foundry. |
Thanks, I was able to reproduce this using the demo repo. This is expected behavior. We do not analyze |
It is true that it may be a bit excessive to check for references in libraries, but currently the ones in a multi-project setup are not found either, same for definitions. Take for example the event called // SPDX-License-Identifier: MIT
pragma solidity 0.8.24;
import {MessageReceived} from "src/BasicMessageReceiver.sol";
contract Message {
function a() public {
emit MessageReceived(bytes32(0), 0, address(0), "");
}
} The |
Is it possible that i can find all references across files in a project.
The text was updated successfully, but these errors were encountered: