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

VSCode intellisense not working for solidity files when using hardhat-foundry #571

Open
tmigone opened this issue Mar 27, 2024 · 1 comment
Assignees
Labels
status:ready This issue is ready to be worked on type:bug Something isn't working

Comments

@tmigone
Copy link

tmigone commented Mar 27, 2024

Version of Hardhat

2.22.2

What happened?

IntelliSense in VSCode stops working when adding @nomicfoundation/hardhat-foundry plugin to a Hardhat project. Imported files wont have any definitions or types, suggestions, etc. For example the following screenshot showing import definitions not being found:

Screenshot 2024-03-27 at 10 39 49

The project will build fine though.

Minimal reproduction steps

The following repo contains a project and steps for a minimal reproduction: https://github.com/tmigone/hardhat-foundry-repro

Search terms

foundry, intellisense, vscode

@kanej kanej added type:bug Something isn't working status:ready This issue is ready to be worked on and removed status:triaging labels Mar 27, 2024
@kanej
Copy link
Member

kanej commented Mar 27, 2024

Hey @tmigone, thanks for the reproduction repo, that makes things far easier to debug.
We will investigate and get back.

@kanej kanej transferred this issue from NomicFoundation/hardhat May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready This issue is ready to be worked on type:bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants