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
  • 9 months ago
  • 31 minutes ago
  • 9 months ago

Installs

  • Total 660
  • Win 251
  • OS X 277
  • Linux 132
May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8
Windows 0 1 0 0 0 0 1 1 2 2 0 2 2 2 2 0 0 1 0 1 2 1 2 0 0 0 2 1 1 0 1 0 0 0 2 3 4 1 0 0 0 2 0 2 0
OS X 1 1 1 0 0 1 0 1 1 2 1 0 2 1 0 0 1 2 0 2 0 2 0 1 0 0 1 0 0 4 1 0 0 0 0 1 1 0 1 0 3 1 0 2 0
Linux 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 1 0 1 0 0 1 0 0 0 0 0 0 0 0 1 0 2 1 0 0 0 0 0 0 1 2 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"
            }
        }
    }