refactor: switch to Nomic Foundation's extension

This commit is contained in:
Paul Razvan Berg 2023-03-02 21:00:17 +02:00
parent 0c3566a278
commit 3001b3bf86
No known key found for this signature in database
GPG Key ID: 94DB130BAB397DED
2 changed files with 5 additions and 9 deletions

View File

@ -1,13 +1,9 @@
{
"[solidity]": {
"editor.defaultFormatter": "JuanBlanco.solidity"
"editor.defaultFormatter": "NomicFoundation.hardhat-solidity"
},
"[toml]": {
"editor.defaultFormatter": "tamasfe.even-better-toml"
},
"solidity.compileUsingRemoteVersion": "v0.8.19+commit.7dd6d404",
"solidity.formatter": "forge",
"solidity.linter": "solhint",
"solidity.packageDefaultDependenciesContractsDirectory": "src",
"solidity.packageDefaultDependenciesDirectory": "lib"
"solidity.formatter": "forge"
}

View File

@ -64,8 +64,8 @@ following files:
### VSCode Integration
This template is IDE agnostic, but for the best user experience, you may want to use it in VSCode alongside Juan
Blanco's [Solidity extension](https://github.com/juanfranblanco/vscode-solidity).
This template is IDE agnostic, but for the best user experience, you may want to use it in VSCode alongside Nomic
Foundation's [Solidity extension](https://marketplace.visualstudio.com/items?itemName=NomicFoundation.hardhat-solidity).
For guidance on how to integrate a Foundry project in VSCode, please refer to this
[guide](https://book.getfoundry.sh/config/vscode).
@ -84,7 +84,7 @@ it in your test contract. PRBTest comes with a pre-instantiated [cheatcodes](htt
environment accessible via the `vm` property. If you would like to view the logs in the terminal output you can add the
`-vvv` flag and use [console.log](https://book.getfoundry.sh/faq?highlight=console.log#how-do-i-use-consolelog).
This template comes with an example test contract [Foo.t.sol](./test/Foo.t.sol).
This template comes with an example test contract [Foo.t.sol](./test/Foo.t.sol)
## Usage