Skip to content

Setup Development Environment

segabriel edited this page Mar 14, 2020 · 9 revisions

Install build tools

Your require to have the latest stable Oracle JDK 7, latest stable Apache Maven and Git installed on your machine.

Setup IDE

ScaleCube project team uses IntelliJ IDEA as the primary IDE, although we are fine with using other development environments as long as you adhere to our coding style.

Code style

ScaleCube project team uses the latest google-java-format plugin that reformats Java source code to comply with Google code style.

Follow the guide to install the latest version of the plugin in your IDEA.

  • Make sure you installed the latest version of the google-java-format plugin, reinstall it if needed.
  • Remove all old schemes related to it (IntelliJ IDEA→Preferences→Editor→Code Style→Java→Show Scheme Actions→Delete...).
  • Don't forget about the import ordering, that requires download the IntelliJ Java Google Style file (save as file) and import it in your IDEA IntelliJ IDEA→Preferences→Editor→Code Style→Java→Show Scheme Actions→Import Scheme. And restart your IDEA to make sure that changes were applied.
Clone this wiki locally