https://kotlinlang.org logo
#scripting
Title
# scripting
r

ribesg

12/03/2018, 10:50 AM
How would I create a simple kotlin script and edit it using IntelliJ? Do I really need to create a project?
g

gildor

12/03/2018, 10:50 AM
For now yes
use Scratch files instead, you will have much better IDE support at least for simple cases (no custom script definition, dependencies etc)
o

oshai

12/03/2018, 11:35 AM
if youre using kscript you can use --idea to edit in idea
g

gildor

12/03/2018, 12:22 PM
Yes, which creates a project for the script. And I agree, it's still the easiest way to write complicated scripts
2 Views