NomicFoundation / hardhat-vscode

Solidity and Hardhat support for Visual Studio Code
https://hardhat.org
MIT License
169 stars 39 forks source link

imports autocomplete does not work with pnpm #522

Open peersky opened 11 months ago

peersky commented 11 months ago

OS: Mac OS

Steps to reproduce:

  1. Take project that is able to autocomplete imports for yarn
  2. Remove yarn.lock and node_modules
  3. run pnpm install
  4. Attempt to import something from installed packages in to solidity file.

In my case import paths resolve and compilcation is successful, however autocomplete won't work and I am getting VSCode errorr:

Invalid import: wrong file casing hardhat(409)