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

No completions of library methods

Open the-vampiire opened this issue 3 years ago • 2 comments

example

import "@openzeppelin/contracts/utils/Counters.sol";

contract TestContract {
    using Counters for Counters.Counter;
    Counters.Counter private _counter;
    
    function test() public {
        _counter.current();
        _counter.increment();
        _counter.decrement();
        _counter.reset();
    }
}

issues

  1. Counters.<C> does not suggest the Counter struct defined in Counters
  2. the _counter variable does not suggest any of the Counter methods

the-vampiire avatar May 05 '22 18:05 the-vampiire

This issue is also being tracked on Linear.

We use Linear to manage our development process, but we keep the conversations on Github.

LINEAR-ID: 7c3b5f3e-99f7-442f-8e8c-5d9236c1db3b

github-actions[bot] avatar May 05 '22 18:05 github-actions[bot]

Would love to have this resolved asap :(

peersky avatar Jun 20 '22 08:06 peersky