In linux it should be in "/home/user/.config/sublime-text-3/Packages/User"
Name the file kotlin.sublime-build and save it to ~sublime folder/Data/Packages/User/.
You will also need to change \\\\ to / in line 2 and 12. For linux change your "path/to/Kotlinc/bin/kotlinc" in line 2. Delete everything in it and paste these lines. Go to Tools > Build-system > New Build System
COMPILE AND RUN RESULT WITH SUBLIME TEXT FOR MAC INSTALL
Install the Sublime Text 3 if haven’t already.
extract the ziped compiler to somewhere.
If you don’t already have JDK installed, install it now. So let’s create a build system for Kotlin. The reason to use Sublime Text is not only because we have limited disk-space and RAM to run bulky IDEs, its because we are really in love with this tiny editor. These IDEs have full support for Kotlin, and of coarse, they are huge in size. Kotlin is developed by JetBrains, a company famous for making many successful IDEs.Ĭurrently Kotlin can be used with IntelliJ IDEA and Eclipse. The best thing about this language is that it is completely convertible and interchangeable with Java and run under JVM. Kotlin is lightweight, modern and way-easier than Java. Though there are quite a number of apps out there developed with Kotlin, it is certainly a great news for all app-devs especially to those who have been waiting for something as-good as Apple’s Swift. Since Google announced that they are officially adding Kotlin to the Android Studio, developers are flocking in to have a look at this new language. Kotlin is the newest sensation among Android and Java developers. Since there are no such plugin, this simple build tool will add a compile and run facility of Kotlin script from inside Sublime Text 3. Hello all, this is a small tip for all the Sublime Text lovers out there.