Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

scijava/scijava-coding-style

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

49 Commits

Repository files navigation

scijava-coding-style

This Maven artifact contains Eclipse coding style settings, intended for use with pom-scijava.

There is also a preferences.epf you can import into the Eclipse IDE via File > Import.

Installation

The parent POM of your project needs to be pom-scijava at version 28.0.0 or later.

Usage

Code formatting for all java files can be done with the following command line:

$ mvn formatter:format

Sorting of java imports is supported as well:

$ mvn impsort:sort

Configuration

Two coding styles are supported: scijava and imglib2. The default setting is scijava. To change this, set the coding-style property in your Maven POM. For example:

<properties>
 <scijava.coding-style>imglib2</scijava.coding-style>
</properties>

About

SciJava Coding Styles

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

AltStyle によって変換されたページ (->オリジナル) /