Skip to content

internal_howto_contribute

etienne-sf edited this page Jun 22, 2024 · 12 revisions

How-to contribute

You're (of course) invited to contribute to this project. Here are some hints for that.

Build the project

The first step is of course to build the project on your computer. For that, please read the HOWTO Build it doc.

Respect the code format

If you use eclipse, please use the code formatter given with the project (file graphql-java-generator (eclipse code formatter).xml at the root of the project). This allows to have the sample code formatting: the code is then homogeneous, and the comparison between versions is simpler.

To do this, go to the eclipse preferences, select Java/Code Style/Formatter, and import this file. Then, in the Java/Editor/Save Actions, check the "Perform the selected action on save", "Format source code", "Format all lines", "Organize imports" and "Additional actions" which its default content.

Clone this wiki locally