-
Notifications
You must be signed in to change notification settings - Fork 22
IntelliJ Setup
Tyler edited this page Jun 19, 2018
·
1 revision
- If you're on the welcome screen, choose "Import Project".
- If you already have some other project open, you can do File -> New -> Project from Existing Sources...
- Select your RLBotJavaExample folder.
- Choose "Import project from external model" and select "Gradle". If Gradle is not one of the choices, cancel and go install the Gradle plugin.
- On the next screen you may need to specify the JDK location, besides that the defaults are OK. Click Finish.
At this point, IntelliJ should know how to compile everything.
- To try it out, find src/main/java/rlbot/JavaExample, right click it, and choose "Debug JavaExample.main()".
- This can be done instead of run-bot.bat, and you'll be able to set breakpoints for easy debugging.
- If you change the code and want to see it take effect on the bot, you can use the "Rerun" button in the Debug pane.