ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sublime​Linter-contrib-groovyc

by alkuzad ST3

Groovyc linter

Details

  • 0.1.0
  • github.​com
  • 5 months ago
  • 3 hours ago
  • 5 months ago

Installs

  • Total 376
  • Win 141
  • OS X 166
  • Linux 69
Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3
Windows 0 3 2 2 1 0 0 1 3 1 1 0 0 0 1 2 0 0 0 0 0 0 0 0 1 0 0 1 1 2 0 1 0 0 0 1 0 1 1 0 1 1 0 2 1 0
OS X 0 2 1 1 0 0 0 0 2 1 0 0 0 1 1 3 0 0 1 0 0 2 0 0 2 1 0 0 1 0 1 1 0 0 2 0 0 0 0 0 0 3 2 1 1 0
Linux 0 1 0 1 1 0 0 1 0 1 2 0 0 1 1 1 0 0 0 0 1 1 0 1 0 0 0 1 0 2 1 0 0 0 2 2 0 0 1 0 0 1 4 0 0 2

Readme

Source
raw.​githubusercontent.​com

SublimeLinter-contrib-groovyc

Build Status

This linter plugin for SublimeLinter provides an interface to groovyc. It will be used with files that have the “.groovy” syntax.

Installation

SublimeLinter must be installed in order to use this plugin.

Please use Package Control to install the linter plugin.

Before installing this plugin, you must ensure that groovyc is installed on your system.

In order for groovyc to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. The docs cover troubleshooting PATH configuration.

  • GROOVY_HOME environment variable has to be set to main groovy folder (inside this folder you can find directories like bin, lib and conf)

Settings

Additional SublimeLinter-groovyc settings:

Setting Description
classpath directories to add to classpath (dependencies), project folder is added automatically
sourcepath directories to add as source path

Example SublimeLinter settings

Global Settings

{
    "linters":
    {
        "groovy":{
            "env": {
                "GROOVY_HOME": "C:\\groovy\\apache-groovy-binary-2.6.0-alpha-3\\groovy-2.6.0-alpha-3"
            }
        }
    },
    "paths":
    {
        "linux":
        [
        ],
        "osx":
        [
        ],
        "windows":
        [
            "C:\\groovy\\apache-groovy-binary-2.6.0-alpha-3\\groovy-2.6.0-alpha-3\\bin"
        ]
    }
}

Project settings

"SublimeLinter": {
        "linters": {
            "groovy": {
                "classpath": "C:\\code\\project1\\src"
            }
        }
    }