NomicFoundation / hardhat-vscode

Solidity and Hardhat support for Visual Studio Code

Home Page:https://hardhat.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

imports autocomplete does not work with pnpm

peersky opened this issue · comments

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)