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
  • 1 month ago
  • 21 minutes ago
  • 1 month ago

Installs

  • Total 118
  • Win 48
  • OS X 53
  • Linux 17
Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8
Windows 0 1 1 4 5 0 1 1 2 0 3 2 0 0 1 1 0 0 1 1 0 1 0 2 1 4 1 2 0 1 2 3 2 1 0 1 3 0 1 0 0 0 0 0 0
OS X 0 1 2 1 1 0 0 1 1 1 3 3 1 0 1 5 3 2 1 0 0 3 1 2 3 3 0 0 2 3 1 1 1 0 0 2 1 2 2 1 0 0 0 0 0
Linux 0 3 2 1 1 0 0 0 0 1 0 0 0 0 0 2 0 1 2 1 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0

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"
            }
        }
    }