Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.
/ EclipseFormatter Public archive

Align fields, assignments and variable declarations in columns.

Notifications You must be signed in to change notification settings

Comee/EclipseFormatter

Repository files navigation

Eclipse has already supported it

align items in columns

EclipseFormatter

Align fields, assignments and variable declarations in columns.

How to use

1. Install Plugin:

1.1 If you install eclipse using Eclipse Installer:

Download your eclipse version related org.eclipse.jdt.core_xxx.jar file and put it in C:\Users${currentUser}.p2\pool\plugins

1.2 If you use portable version eclipse:

Download your eclipse version related org.eclipse.jdt.core_xxx.jar file and put it in ${installedDirectory}\plugins

2. Config

After restart, config it: Formatter

3. Example

Example

How it works

I override org.eclipse.jdt.internal.formatter.linewrap.FieldAligner and make it enable to align assignments and variable declarations in columns by equals.

About

Align fields, assignments and variable declarations in columns.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published