[![Solidity linter showing compiler version error][1]][1] [1]: https://i.sstatic.net/7nYOg.png Hi may I know how to change my Solidity linter compiler version in Visual Studio Code(vscode)?
The only Solidity related extensions I have installed are solidity 0.0.38 by Juan Blanco, and Solidity Extended 3.0.2 by beaugunderson.
I have applied the User Settings in VS Code as the following but still get error:
compileUsingRemoteVersion" : "v0.4.22+commit.4cb486ee.Emscripten.clang", "solidity.solhintRules": { "extends": "default", "rules": { "avoid-throw": false, "avoid-suicide": "error", "avoid-sha3": "warn", "indent": ["warn", 2] } }, "solidity.soliumRules": { "no-inline-assembly": 5, "imports-on-top": 0, "variable-declarations": 0, "indentation": ["error",2], "quotes": ["error","double"] }, Now I've also install Solidity globally in my Linux: $ sudo npm install -g solc Then I've got this from the terminal: /home/userXYZ/.npm-global/bin/solcjs -> /home/userXYZ/.npm-global/lib/node_modules/solc/solcjs
Then changed User Setting: "solidity.compileUsingRemoteVersion" : "latest"
Then re-started VS Code, still I am getting this error... Please help. Thank you