Skip to main content
added 500 characters in body; edited title
Source Link
Russo
  • 1.8k
  • 2
  • 23
  • 32

Solved: How to change Solidity linter [solc] compiler version in Visual Studio Code?

enter image description here Hi may I know how to change my Solidity linter compiler version in Visual Studio Code(vscode)? OR Visual studio code how to specify solidity compiler version?

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" {"files.autoSave": "v0.4.22+commit.4cb486ee.Emscripten.clang""afterDelay", "solidity"files.solhintRules"autoSaveDelay": {1000,   "extends""editor.minimap.enabled": "default"false,   "rules""editor.tabSize": {2,   "editor.detectIndentation": false,  "avoid-throw""editor.wordWrap": false"on", "files.associations": {  "avoid-suicide" "*.sol": "error","solidity" },  "workbench.iconTheme": "material-icon-theme",  "avoid "material-sha3"icon-theme.showUpdateMessage": "warn"false,   "solidity.compileUsingRemoteVersion" : "latest",  "indent""solidity.linter": ["warn""solium", 2]   "solidity.packageDefaultDependenciesContractsDirectory": }"contracts", }"solidity.packageDefaultDependenciesDirectory": "node_modules", "solidity.soliumRules": { "no"imports-inlineon-assembly"top": 50, "imports-on"variable-top"declarations": 0, "variable"no-declarations"inline-assembly": 05, "indentation": ["error",2], "quotes": ["error","double"] }, "solidity.validationDelay": 1000, if in Windows system: "terminal.integrated.shell.windows":"C:\\WINDOWS\\System32\\cmd.exe", "window.zoomLevel":1 

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

How to change Solidity linter [solc] compiler version in Visual Studio Code?

enter image description here Hi may I know how to change my Solidity linter compiler version in Visual Studio Code(vscode)? OR Visual studio code how to specify solidity compiler version?

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

Solved: How to change Solidity linter [solc] compiler version in Visual Studio Code?

enter image description here Hi may I know how to change my Solidity linter compiler version in Visual Studio Code(vscode)? OR Visual studio code how to specify solidity compiler version?

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:

{"files.autoSave": "afterDelay", "files.autoSaveDelay": 1000, "editor.minimap.enabled": false, "editor.tabSize": 2, "editor.detectIndentation": false,  "editor.wordWrap": "on", "files.associations": {   "*.sol": "solidity" },  "workbench.iconTheme": "material-icon-theme",   "material-icon-theme.showUpdateMessage": false,   "solidity.compileUsingRemoteVersion" : "latest",  "solidity.linter":"solium", "solidity.packageDefaultDependenciesContractsDirectory": "contracts", "solidity.packageDefaultDependenciesDirectory": "node_modules", "solidity.soliumRules": { "imports-on-top": 0, "variable-declarations": 0, "no-inline-assembly": 5, "indentation": ["error",2], "quotes": ["error","double"] }, "solidity.validationDelay": 1000, if in Windows system: "terminal.integrated.shell.windows":"C:\\WINDOWS\\System32\\cmd.exe", "window.zoomLevel":1 

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

deleted 12 characters in body
Source Link
Russo
  • 1.8k
  • 2
  • 23
  • 32

[![Solidity linter showing compiler version error][1]][1] [1]: https://i.sstatic.net/7nYOg.pngenter image description here Hi may I know how to change my Solidity linter compiler version in Visual Studio Code(vscode)? OR Visual studio code how to specify solidity compiler version?

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

[![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)? OR Visual studio code how to specify solidity compiler version?

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

enter image description here Hi may I know how to change my Solidity linter compiler version in Visual Studio Code(vscode)? OR Visual studio code how to specify solidity compiler version?

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

added 64 characters in body
Source Link
Russo
  • 1.8k
  • 2
  • 23
  • 32

[![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)? OR Visual studio code how to specify solidity compiler version?

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

[![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

[![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)? OR Visual studio code how to specify solidity compiler version?

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

added 285 characters in body
Source Link
Russo
  • 1.8k
  • 2
  • 23
  • 32
Loading
Source Link
Russo
  • 1.8k
  • 2
  • 23
  • 32
Loading