简体   繁体   中英

How can i run kotlin on sublime text

I just installed Sublime Text and the kotlin package too and i wrote my First Code: fun Main () {

println ("Hello World") } but how can I run the Code now ?

You can use the kotlin cli in the sublime terminal

https://kotlinlang.org/docs/command-line.html

Build tools like kotlin, gradle, maven, etc are really just command line tools. IDEs build GUI's around them but it's always possible to just interface with the build tool manually. It might be good to understand the cli under the hood anyways as it's not significantly more work

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM