Skip to content

joejordan/hardhat-vscode

 
 

Repository files navigation

Hardhat for Visual Studio Code

Hardhat for Visual Studio Code is a Visual Studio Code extension that provides enhanced Solidity language features.

Built by the Nomic Foundation for the Ethereum community.

Join our Hardhat Support Discord server to stay up to date on new releases, plugins and tutorials.

Features

  • Code completion
  • Go to definition, type definition and references
  • Symbol renames
  • Solidity code formatting through prettier-plugin-solidity
  • Inline validation for Hardhat projects
  • Hover help for variables, function calls, errors, events etc.
  • Code actions (quickfixes) suggested from compiler errors/warnings
    • Implement missing functions on interface with stubs
    • Constrain mutability by adding view/pure to function signature
    • Meet inheritance requirements by adding virtual/override on function signature
    • Provide accessibility by adding public/private to function signature

Installation

Hardhat for Visual Studio Code can be installed by using the Visual Studio Code Marketplace.

Contributing

Contributions are always welcome! Feel free to open any issue or send a pull request.

Go to CONTRIBUTING.md to learn about how to set up Hardhat for Visual Studio Code's development environment.

Feedback, help and news

Hardhat Support Discord server: for questions and feedback.

Follow Hardhat on Twitter.

About

Solidity and Hardhat support for Visual Studio Code

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 90.3%
  • Solidity 8.7%
  • JavaScript 1.0%