GithubHelp home page GithubHelp logo

protofire / idea-solidity-solhint Goto Github PK

View Code? Open in Web Editor NEW
9.0 5.0 3.0 109 KB

JetBrains IDEA plugin to provide Solhint code verification

Home Page: https://plugins.jetbrains.com/plugin/10177-solidity-solhint

License: MIT License

JavaScript 3.53% Kotlin 80.13% Java 16.34%
jetbrains jetbrains-ides linter solhint solidity smart-contracts ethereum dapp cryptocurrency ast

idea-solidity-solhint's Introduction

Solidity Solhint Plugin for JetBrains IDE

Solidity Solhint Plugin allow to enable Solhint inspection capabilities in your project. It highlight of warnings / errors found by the linter in editor during code modification.

Prerequisite

To correct evaluation of this plugin you must to have installed:

  1. Node.js >= v6.9.1
  2. Solhint. You may install it using command npm install -g solhint
  3. Intellij-Solidity IDE extension

Installation

To install this plugin you need:

  1. Open one of JetBrains IDEs
  2. Open Settings > Plugins
  3. Click "Browse repositories..."
  4. Type "Solhint" and wait util appropriate plugin info will be loaded
  5. Click "Install"
  6. Restart your IDE

Screenshots

Code Inspection Capabilities

Code Inspections

Plugin Configuration Panel

Settings Panel

License

MIT

idea-solidity-solhint's People

Contributors

idrabenia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

idea-solidity-solhint's Issues

Solhint doesn't rerun after fixing errors. How to trigger updates?

I just started using Solhint in Webstorm and I find that I am often opening contracts written by others, from truffle, etc, that have many style erros. After fixing them, the errors don't go away reliably. I have to type a ton of new code, add and delete code, or open and close the file. I can't figure out how to reliably trigger a re-linting. My experience with ESLint in Webstorm is that files are relinted and errors disappear within 1-2 seconds or less. Is it possible to have a similar experience with Solhint? Am I missing something? I don't currently have a .solhint.json file in my project. Is that required? I am using Webstorm 2017.3.5 and Solidity Solhint 1.10

Support for 2020.3

Version 2020.3 of Idea is not supported by the plugin. Will there be an update?

Solhint package is not found in MAC platform

I use PyCharm and try to build the Solidity smart contract. The PyCharm reported the Solhint package is not found as below. What message I should provide or trace to debug this issue?

My Intellj-Solidity version is 2.1.1
My Solidity Solhint version is 1.10

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.