Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Excerpt

This page describes the common coding style we apply in the SNAP project.

Java

We use a slight modification of the IntelliJ IDEA default coding style which has been used for the majority (if not all) BEAM code. In IDEA create the SNAP coding style as follows or copy SNAP.xml into ${home}/.IntelliJIdea14/config/codestyles.

Align multiple method call parameterers:

Image Modified

Use fully qualified import statements (avoid wildcard '*'):

Image Modified

Python

Adhere to PEP-8!