Support for use Gradle on Sublime Text 3
- Total 20K
- Win 7K
- Mac 8K
- Linux 4K
|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||Apr 7||Apr 6||Apr 5||Apr 4||Apr 3|
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 Text 3: Build 3059
- Gradle: 1.11
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.
Install Package Control as you see fit.
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.
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 '@'.