From 3001b3bf861b5887c2add1e0ab86b3f6d3ab4a75 Mon Sep 17 00:00:00 2001 From: Paul Razvan Berg Date: Thu, 2 Mar 2023 21:00:17 +0200 Subject: [PATCH] refactor: switch to Nomic Foundation's extension --- .vscode/settings.json | 8 ++------ README.md | 6 +++--- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index a880b5a..241108b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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" } diff --git a/README.md b/README.md index 278cae2..a9f8c29 100644 --- a/README.md +++ b/README.md @@ -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