How does Patrick automatically import variables from hardhat? #6545
-
Here's the timestamp for contextI want to understand how Patrick's VS Code automatically imports variables like const raffle = await deploy("Raffle", {
from: deployer,
args: [],
log: true,
waitConfirmations: network.config.blockConfirmations || 1,
}) Is it some extension in VS Code or a setting inside the IDE? Thank you in advance ❤️ |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Yah VS Code sometimes does import automatically l think its because you have already imported that module using yarn. |
Beta Was this translation helpful? Give feedback.
-
Hi @mikechaban @bobbywilliamajor is right. VS Code automatically imports modules for you if you use them in your code and hit enter or select given module. |
Beta Was this translation helpful? Give feedback.
Hi @mikechaban
@bobbywilliamajor is right. VS Code automatically imports modules for you if you use them in your code and hit enter or select given module.