Practical overview
When it fits
Use it when Solidity work already takes place in Visual Studio Code and you want language support plus documented project-aware editing and compilation features in that environment.
Who it is for
- Solidity developers who write or maintain Ethereum smart contracts in Visual Studio Code.
- Developers who want editor navigation, linting and compilation tools for Solidity projects.
- Teams working with supported Foundry, Brownie, Truffle or Hardhat project markers.
Documented uses
- Edit Solidity contracts with syntax highlighting, snippets and code completion.
- Navigate between definitions and references across project code.
- Run linting and compile a current contract or all Solidity contracts.
- Select a Solidity compiler version or source for a workspace or user configuration.
- Use included ERC examples and documented Uniswap V2 interfaces as coding references.
Requirements & limits
The repository specifies an MIT license. The README describes a Visual Studio Code extension and a separate npm-installed language-server option.
- Compiler selection supports remote, local, embedded and Node-module options according to the README.
- Project detection uses configuration files including remappings.txt, foundry.toml, brownie-config.yaml, truffle-config.js, hardhat.config.js and hardhat.config.ts.
- The README documents compilation, but does not document deployment or debugging features.
- The project warns users to check extension publishing history because of impersonations.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Configure a Solidity compiler version
Select a remote, local or Node-module Solidity compiler for a workspace or user settings.
Before you start
- Visual Studio Code with the Vscode Solidity extension.
- For a local compiler, a downloaded Solidity compiler file; for the Node-module option, a project with npm and Node.js.
Steps
Choose a compiler method: remote download, local file, or a compiler package in the project's node_modules.
For a remote compiler, set solidity.compileUsingRemoteVersion to a version such as latest or a specific version string.
For a local compiler, set solidity.compileUsingLocalVersion to the downloaded compiler file path; the README also describes selecting a version through the extension context menu.
For the Node-module option, install solc at the project root with npm install solc.
Expected outcome
The extension is configured to use the selected Solidity compiler source or version.
Guide limitations
- The README documents these compiler-selection options; it does not establish that a particular project will compile successfully.
- The documented Node-module example uses the solc package.
Compile Solidity contracts from Visual Studio Code
Use the extension's documented commands to compile the current contract or all Solidity contracts.
Before you start
- Visual Studio Code with the Vscode Solidity extension.
- A Solidity project and a compiler source or version configured for the extension.
Steps
Open the Solidity project in Visual Studio Code.
To compile the current contract, run “Solidity: Compile Current Solidity Contract” from the command palette or press F5.
To compile all contracts, run “Solidity: Compile all Solidity Contracts” from the command palette, or press Ctrl+F5 on Windows/Linux or Cmd+F5 on macOS.
Expected outcome
The extension starts compilation for the selected contract or all Solidity contracts, as requested.
Guide limitations
- The README describes the compilation commands but does not establish successful compilation for any specific project.
- Compilation results depend on the project's contracts and compiler configuration.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 9 October 2026
- Original website title
- juanfranblanco/vscode-solidity · Official homepage title · retained in its source language

