Solium Gutter is a Sublime Text 3 plugin inspired by JSHint Gutter. It uses Solium NodeJS library to lint Solidity source files.
Each OS has a different Packages
folder required by Sublime Text. Open it via Preferences -> Browse Packages, and copy this repository contents to a new solium-gutter
folder there.
The shorter way of doing this is:
Through Sublime Package Manager
Ctrl+Shift+P
orCmd+Shift+P
in Linux/Windows/OS X- type
install
, selectPackage Control: Install Package
- type
solium gutter
, selectSolium Gutter
Make sure you use the right Sublime Text folder. For example, on OS X, packages for version 2 are in ~/Library/Application\ Support/Sublime\ Text\ 2
, while version 3 is labeled ~/Library/Application\ Support/Sublime\ Text\ 3
.
These are for Sublime Text 3:
git clone https://github.com/sey/sublime-solium-gutter.git ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/solium-gutter
git clone https://github.com/sey/sublime-solium-gutter.git ~/.config/sublime-text-3/Packages/solium-gutter
git clone https://github.com/sey/sublime-solium-gutter.git "%APPDATA%/Sublime Text 3/Packages/solium-gutter"
Tools -> Command Palette (Ctrl+Shift+P
or Cmd+Shift+P
) and type jshint
.
There is no pre-defined keymap for the moment.