Skip to content

Commit

Permalink
chore: vscode settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mfw78 committed Jun 3, 2024
1 parent 80c3972 commit 3f93809
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
{
"name": "Foundry + Node",
"image": "mcr.microsoft.com/devcontainers/base:0",

"features": {
"ghcr.io/nlordell/features/foundry": {},
"ghcr.io/devcontainers/features/node:1": {}
},
"customizations": {
"vscode" : {
"extensions": [
"JuanBlanco.solidity"
]
}
}
}
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"editor.formatOnSave": true,
"solidity.packageDefaultDependenciesContractsDirectory": "src/contracts/",
"solidity.packageDefaultDependenciesDirectory": "lib",
"[solidity]": {
"editor.defaultFormatter": "JuanBlanco.solidity"
},
"solidity.formatter": "forge",
"solidity.compileUsingRemoteVersion": "v0.7.6+commit.7338295f",
}

0 comments on commit 3f93809

Please sign in to comment.