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
  • 7 months ago
  • 3 hours ago
  • 7 months ago

Installs

  • Total 533
  • Win 198
  • OS X 226
  • Linux 109
Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5
Windows 1 1 0 1 2 0 0 2 0 1 1 1 1 0 0 2 1 0 0 0 0 1 1 1 2 5 0 0 0 0 5 3 0 0 1 1 2 2 1 0 0 0 0 0 1 2
OS X 0 2 0 2 1 0 0 1 0 2 1 3 0 0 2 1 0 0 0 0 2 1 1 3 2 1 0 0 0 1 1 2 0 0 0 2 2 3 2 1 0 0 1 3 0 5
Linux 0 1 0 1 1 0 0 0 1 1 1 1 0 1 1 0 0 1 2 0 0 0 0 1 0 0 0 0 0 3 2 1 2 0 1 5 1 0 3 1 0 0 1 0 0 1

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