Skip to content, Skip to search

Changes

Coding style

12 bytes added, 16:00, 30 November 2016
Eclipse code style profiles: Use bc template
== Eclipse code style profiles ==
We provide [https://github.com/imagej/imagej/tree/master/config Eclipse configuration files in the source repository] that define our rules for code structure and formatting. You can import them to your system using {{bc | File &gt; | Import &gt; | Preferences }} and selecting the <code>eclipse-preferences.epf</code> file. Then, in Eclipse preferences, navigate to {{bc | Java &gt; | Code Style &gt; | Clean Up }} and select "ImageJ" for the active profile. You can then format your source code by right-clicking your source file(s) and choosing {{bc | Source &gt; | Clean Up }} from the context menu. As of this writing, these rules are not automatically applied by CI, but we make an effort to apply them to the codebase occasionally by hand.
== Header structure ==
Bureaucrat, emailconfirmed, incoming, administrator, uploaders
11,813
edits