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

Gradle_Language

by kingofmalkier ALL

Support for use Gradle on Sublime Text 3

Details

  • 2.1.0
  • github.​com
  • github.​com
  • 11 years ago
  • 41 minutes ago
  • 11 years ago

Installs

  • Total 21K
  • Win 8K
  • Mac 9K
  • Linux 4K
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 Dec 2 Dec 1
Windows 0 0 0 0 1 0 0 2 1 0 0 1 0 1 1 1 0 0 0 1 0 3 0 1 0 0 1 0 1 1 0 1 0 1 0 0 0 0 0 1 0 0 0 0 0 0
Mac 0 1 0 0 0 0 1 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 2 0 0 1 0 0 0 0 0 1 0 0 0 2 0 0 0 0 1 0 1 0 1
Linux 0 1 0 1 0 3 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 1 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Origins

Forked from the excellent start by koizuss, I've kept this project separate because I think some of my changes are really philosophical departures that not everyone may want.

Sublime Gradle

Support for use with Gradle in Sublime Text 3.

Use version:

  • Sublime Text 3: Build 3059
  • Gradle: 1.11

Installation

The easiest and best way to install is via the Sublime Package Control plugin. Package control makes it easier to upgrade and also ensures you won't get pre-release updates unless you specifically want to.

  1. Install Package Control as you see fit.

  2. Open “Package Control: Install Package” in your Command Palette and search for “Gradle Language”

(if you already have it installed, select “Package Control: Upgrade Package” to upgrade)

To install manually and/or get the bleeding edge using a shell/Terminal (on OS X, Linux or Cygwin), via git:

cd ~/"Library/Application Support/Sublime Text 3/Packages/" # location on OS X; will be different on Linux & Windows
git clone https://github.com/kingofmalkier/sublime-gradle

or, if you don't have git installed:

cd ~/"Library/Application Support/Sublime Text 3/Packages/"
curl -L https://github.com/kingofmalkier/sublime-gradle/tarball/master | tar xf -

The plugin should be picked up automatically. If not, restart Sublime Text.

Usage

When using the extension .gradle, files should be automatically be detected as the Gradle type.

Project attributes (properties and methods) automatically highlight and auto-complete throughout the build file.

Typed tasks (Copy, Exec, etc.) should automatically highlight and auto complete only their own attributes, plus any attributes defined on the parent Task and Project attributes.

Recognized task types will highlight in a different color (in most color schemes) to emphasize that you are using a predefined type.

Tasks of any sort highlight as functions, which means that the “Goto Anything…” will offer them as choices when you use '@'.

Bugs and Feature Requests

https://github.com/kingofmalkier/sublime-gradle/issues