|
@@ -78,3 +78,20 @@ Delete the smart contract artifacts, the coverage reports and the Hardhat cache:
|
|
|
```sh
|
|
|
$ yarn clean
|
|
|
```
|
|
|
+
|
|
|
+## Syntax Highlighting
|
|
|
+
|
|
|
+If you use VSCode, you can enjoy syntax highlighting for your Solidity code via the
|
|
|
+[vscode-solidity](https://github.com/juanfranblanco/vscode-solidity) extension. The recommended approach to set the
|
|
|
+compiler version is to add the following fields to your VSCode user settings:
|
|
|
+
|
|
|
+```json
|
|
|
+{
|
|
|
+ ...
|
|
|
+ "solidity.compileUsingRemoteVersion": "v0.8.3+commit.8d00100c",
|
|
|
+ "solidity.defaultCompiler": "remote",
|
|
|
+ ...
|
|
|
+}
|
|
|
+```
|
|
|
+
|
|
|
+Where of course `v0.8.3+commit.8d00100c` can be replaced with any other version.
|