0

enter image description here

I'm a beginner in coding, and as u can see, I don't know how to configure the run.json file in Fleet, especially the program. Hope that someone could help me, thanks so much!!!

I have read the notice from JetBrains, but I still don't know how to deal with it.

LazyOne
  • 158,824
  • 45
  • 388
  • 391
  • 1
    If you are a newbie in coding, why don't you start with Intellij IDEA Community Edition first? – Roslan Amir Dec 04 '22 at 06:50
  • Try checking the docs to see how `run.json` should be written: https://www.jetbrains.com/help/fleet/run-configs.html -- this page has examples + Fleet will help with code completion as you type. A few more general examples (not specific to Kotlin): 1) https://stackoverflow.com/questions/74366488/refer-environment-variable-in-run-json-for-fleet-ide 2) https://stackoverflow.com/questions/74167032/jetbrains-fleet-running-flutter-project/74184181#74184181 And yes, using IntelliJ IDEA Community would be a better choice for a new person to Kotlin and coding overall – LazyOne Dec 04 '22 at 22:01

1 Answers1

0

Type command is used for executing raw commands. See the description of what the program is in the Command properties which is

Shell command to execute

i.e. this is a program executable which is installed on your machine.

If you want to run Main Kotlin class, it is better to use Editor gutter a d run your program from the green icon in gutter: enter image description here

Andrey
  • 15,144
  • 25
  • 91
  • 187