Below are some helpful IntelliJ configurations you can set to match our coding style and standards.
This project uses checkstyle to format Java code. If developing locally, please setup checkstyle using the following steps.
Settings > Plugins > Marketplace > CheckStyle-IDEA > INSTALL.checkstyle.xml file provided in this directory.Settings > Tools > Checkstyle (this tool location may differ based on your version of IntelliJ).Configuration File heading, click the + symbol to add our specific configuration file.GID Java Checks, and provide the connectors/dev/checkstyle.xml path.Next to add the checkstyle fileActive next to it once it has been addedOnly Java sources (including tests)CheckStyle tab that lets you run Java style checks against using the Check Project button.We use the following import order in our Java files. Please update this in Settings > Editor > Code Style > Java > Imports > Import Layout:
import java.* import javax.* <blank line> import scala.* <blank line> import all other imports <blank line> import com.getindata.connectors.* import com.getindata.connectors.internal.*