Skip to content
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

No Usages found / Import File #422

Open
aschenkuttel opened this issue Apr 17, 2024 · 4 comments
Open

No Usages found / Import File #422

aschenkuttel opened this issue Apr 17, 2024 · 4 comments

Comments

@aschenkuttel
Copy link

Hey,

am I missing something or why does this occur?

grafik

// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.10;

import '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';

contract Controller {
    constructor() {
        IUniswapV3Pool pool = IUniswapV3Pool(0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984);
    }
}

Version: 2.4.3
IDE: Phpstorm 2024.1
OS: Windows 11

cheers

@mbolotov
Copy link
Member

Hi Neel,
What happens if you import file using the quick fix action as it suggests?

@aschenkuttel
Copy link
Author

aschenkuttel commented Apr 18, 2024

Hi Neel, What happens if you import file using the quick fix action as it suggests?

Hey, its not clickable sadly. just the option to show the inspection description with the three dots.
I think it was clickable once, not sure about the code tho, but it also didnt help.

I also tried named imports, other ones like Ownable from @OpenZeppelin for example work fine.

@aschenkuttel
Copy link
Author

Ah and Ctrl + Click on the imported Uniswap Files work fine.

@mbolotov
Copy link
Member

@aschenkuttel
could you try the newest 2.4.4 version?
if it's still reproducible, could you share a project to reproduce?

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

No branches or pull requests

2 participants