Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

solidity-extension

Package Overview
Maintainers
0
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry
This package was compromised as part of the ongoing "GlassWorm v2" supply chain attack.

Affected versions:

0.0.188
View campaign page

solidity-extension

A comprehensive Visual Studio Code extension that brings advanced support for the Ethereum Solidity smart contract language. This extension provides powerful features such as syntax highlighting, code completion, inline error checking, smart contract compilation, linting, code generation, and seamless integration with the Ethereum development workflow to enhance your productivity when building blockchain applications.

unpublished
Open VSX
Version
0.0.188
Version published
Maintainers
0
Created
Source
Solidity Extension Logo

Solidity Extension for Visual Studio Code

Important: Beware of fake extensions.
Always check the publisher and verify publishing history.
Available on VSCode Marketplace and OpenVSX.

Solidity is the primary language for Ethereum smart contracts.
This Visual Studio Code extension delivers a modern, productive developer experience—for dApps, audits, enterprise monorepos, and everything in between.

🌟 Core Features

🚀 Intelligent Code Completion

Autocomplete contracts, functions, variables, events, and more.

Code Completion Demo

🔁 One-click Compiler Version Switching

Change your Solidity compiler version easily from the status bar or context menu. No manual configuration required.

Compiler Version Switch Demo

🛠 Quick Fixes for Common Errors

Receive instant fixes for frequent issues (e.g., license headers, version mismatches, invalid addresses).

Quick Fixes Demo

⬇️ Download Source Code from Etherscan

Retrieve verified contracts and ABIs with a single click from Etherscan.

Etherscan Download Demo

💡 Inline Documentation ("Hover")

Hover over code to see instant NatSpec comments and in-code documentation.

Hover Docs Demo

✨ Feature Highlights

  • Syntax highlighting for Solidity (*.sol)
  • Powerful snippets and contract templates
  • Compile single or multiple contracts directly from the editor
  • Smart autocomplete (contracts, libs, imports, vars, & more)
  • Go to definition & find all references
  • Inline (“hover”) documentation for functions, types, variables
  • Quick fixes: compiler version, SPDX, license header, address formatting
  • Monorepo and multi-project workspace support
  • Auto-detection of project layout (src/, lib/, etc.)
  • EIP82 (dappfile) compatible for dependency/compilation
  • Switch between remote, local file, embedded, or npm Solidity compilers
  • Etherscan: Download source/ABI with one click
  • Code generation for C#, F#, or VB.NET via Nethereum
  • Lint using Solhint or Solium/Ethlint
  • Standalone language server (LSP) mode

Get started today and instantly boost your Solidity experience in VSCode!

🖥️ Standalone Language Server

Install globally and run anywhere as an LSP:

npm install -g vscode-solidity-server
vscode-solidity-server --stdio

🚦 Usage Overview

Compiler Version Switching

  • Download any Solidity compiler via solc-bin
  • Change version via VSCode settings or context menu
  • Select remote, local file, embedded, or npm-based compilers
Example settings
"solidity.compileUsingRemoteVersion": "latest"
// or
"solidity.compileUsingLocalVersion": "C:\\...\\soljson-v0.8.xx.js"

Context menu supports one-click download & switch.

npm/Node-based Compilation

Install solc with npm:

npm install solc

Compile with Custom Compilers

Right-click any .sol file to compile it with your preferred version—ideal for multiple versions or monorepo setups.

📄 ERCs, Snippets, & Templates

  • Type erc to generate common ERC contract standards
  • Type uni for Uniswap contract templates

Missing a template? PRs welcome!

📁 Project Layout & Remappings

  • Default: contracts in src/, dependencies in lib/
  • Supports both node_modules and lib/ imports
  • Remappings via remappings.txt or solidity.remappings in your settings

Perfect for mono repos and modular project structures.

🎯 Editor Integrations

  • Autocomplete: contracts, functions, events, imports
  • Go to Definition: navigate instantly
  • Hover Docs: instant NatSpec view
  • Find References: workspace-wide search
  • Quick Fixes: for common Solidity errors

🧹 Error Checking & Linting

Enable as-you-type error checking:

"solidity.enabledAsYouTypeCompilationErrorCheck": true,
"solidity.validationDelay": 1500
  • Lint via Solhint or Solium/Ethlint (auto-detects .solhint.json)
  • Choose your linter:
"solidity.linter": "solhint",
"solidity.solhintRules": { "avoid-sha3": "warn" }

🎨 Formatting

  • Format Solidity with prettier-plugin-solidity (configure your .prettierrc)
  • Optionally add auto-format via Foundry's forge fmt (foundry.toml required)
  • Enable on-save format:
"editor.formatOnSave": true

⚡ Code Generation

  • Generate C#, F#, or VB.NET code for apps (via Nethereum)
  • Supports multiple .nethereum-gen.multisettings files
Example .nethereum-gen.multisettings
[
  {
    "paths": ["out/ERC20.sol/Standard_Token.json"],
    "generatorConfigs": [
      {
        "baseNamespace": "Contracts",
        "basePath": "output/MyProject.Contracts",
        "codeGenLang": 0,
        "generatorType": "ContractDefinition"
      }
    ]
  }
]

Create as many configs as you want:
project1.nethereum-gen.multisettings, game.nethereum-gen.multisettings, etc.

🤝 Community & Feedback

  • Report issues: GitHub Issues
  • Join us on Discord for real-time support
  • All contributions, feedback, and improvements are welcome—see license for details

🏅 Credits

Thanks to the Solidity, Prettier, Solhint, Solium/Ethlint, and Nethereum communities, plus every contributor. Your ideas, bug reports, and PRs make Solidity better for everyone.

Keywords

__ext_nethereum-gen.multisettings

FAQs

Package last updated on 11 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts