From 98dd80ecef197e313442ef52ba5eecd0e957d7d1 Mon Sep 17 00:00:00 2001
From: Cedric Beust
./kobaltw assemble-
-
Build.kt
file for this command to work.
-- This will generate several files depending on the content of your build file. You can then launch IDEA and open this project directly. +You can now open your project in IDEA and if you have the Kobalt IDEA plug-in installed, you +will be asked whether you want to import that project as a Kobalt project.
-
- If you're using Intellij IDEA, make sure you've installed the Kobalt plugin and then go to Tools → Kobalt → Sync Build File
. Once the build file is synchronized, the errors should
- disappear
- and you can now use all the regular functions of IDEA on Build.kt
just like any other Kotlin
- files (auto completion, jump to symbol, etc...).
+ Once your project has been imported as a Kobalt project in IDEA, bring up the Kobalt window (sideways on the
+ right side) and click the Sync icon, which will synchronize your build file with IDEA.