Intellij IDEA development environment set up to contribute

Could someone describe the procedure to start developing Gatling using Intellij IDEA?
Thank you

Pierre is more the IntelliJ expert here, so he might provide better explanations.

With IntelliJ 13, you just need to install the Scala plugin.
Regarding formatting rules, we use tabs for indentation for now, but that might change. Please try to only edit the lines related to your change (beware of auto formatting).

Then, in order to build, I don’t know if IntelliJ ships sbt, or if you have to install it yourself an run it from the command line.
Run sbt, then ;compile;publishLocal in order to build.

Beware that if you want to build the bundle, you’ll have to clone the other gatling-highcharts project.

Hi,

Working on Gatling with IntelliJ 13 is only two steps away :

  • As Stéphane suggested, you need to install the Scala plugin available in Jetbrains repositories and restart
  • Go to File → Import module, select the directory in which you cloned Gatling, choose to import from external model and select “SBT project”.
  • On the next page, check “Enable auto-import” and finish
  • Give IntelliJ a few minutes to import the project and you’re good to go !

If you’re using IntelliJ 12, I suggest that you get IntelliJ 13 Community Edition.
Ultimate Edition is not required for Scala development and the Scala plugin has been improved a lot in IntelliJ 13 (SBT support is just one of those improvements).

Cheers,

Pierre

Thank you for your help!

Вівторок, 4 березня 2014 р. 09:50:33 UTC+2 користувач Pierre DAL-PRA написав:

Hi Pierre,
Do you know how to make the intelligent complete work in Intellij IDEA when developing gatling?

在 2014年3月4日星期二 UTC+8下午3:50:33,Pierre DAL-PRA写道: