Installing Foundry locally
curl -L https://foundry.paradigm.xyz | bash
Setting up VSCode
forge init --template https://github.com/foundry-rs/forge-template hello_template
Open in VSCode

Create a .vscode/settings.json
{
"solidity.packageDefaultDependenciesContractsDirectory": "src",
"solidity.packageDefaultDependenciesDirectory": "lib"
}