Contributing to BenchmarkSQL

Code

The code is formatted with Google Java code style. The details of this format can be found at: https://google.github.io/styleguide/javaguide.html

If you use Eclipse IDE, you can configure this editor with this file: https://github.com/google/styleguide/blob/gh-pages/eclipse-java-google-style.xml

To configure the formatter, you need to download the xml file and then import it into Eclipse.

Preferences > Java > Code style > Formatter > Active profile > Import > Select the downloaded xml file.

Format the code:

Right click on the source directory (src/main/java) > Source > Format

Alternatively, in the class being edited, you can press:

Ctrl + shift + F
cmd + shift + F