-
Notifications
You must be signed in to change notification settings - Fork 46
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
Comments
Hey @tmigone, thanks for the reproduction repo, that makes things far easier to debug. |
Has there been any progress here? However these issue go away when i remove the But then other issue arises instead. I notice when i "go to definition" to: @nomicfoundation/hardhat-foundry
I imagine that this could be the issue? Because when i try to go to definition on Neovim i get this response
In summery it expects a string but gets nil/nul/undefined instead And in VScode i get no response at all These is the installed dependencies i have.
Thanks in advance! :) |
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: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
The text was updated successfully, but these errors were encountered: