intellij-solidity
intellij-solidity copied to clipboard
When modifier is present, a method's "go to usage" goes to modifier instead of method
When a modifier is present, "go to usage" goes to to modifier declaration instead of method usage.
pragma solidity 0.8.22;
contract Temp {
modifier onlyOwner() {
_;
}
function foo() public onlyOwner { // <----- trying to go to usage of foo goes to declaration of onlyOwner instead
}
function bar() external {
foo();
}
}
Happens with 2.4.4 and if built form source on latest (https://github.com/intellij-solidity/intellij-solidity/commit/defd455e86dfc59bb436aab8eb6cb09169d553df).
This does not happen with 2.4.3 (which I'm using as a workaround for now)