SkillAgentSearch skills...

Eclipstyle

Clone code style & format accross multiple Eclipse workspaces.

Install / Use

/learn @utkuufuk/Eclipstyle
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

eclipstyle

Set up Eclipse workspace preferences once and use them everywhere!

How Does It Work?

Clones code style formatting as well as font, color & text editor settings located in

  • org.eclipse.jdt.core.prefs
  • org.eclipse.jdt.ui.prefs
  • org.eclipse.ui.editors.prefs
  • org.eclipse.ui.workbench.prefs

files from a directory or an existing workspace to all workspaces.

Usage

# export preferences
java -jar eclipstyle.jar export /path/to/ref/workspace /path/to/export/prefs

# clone previously exported preferences
java -jar eclipstyle.jar clone /path/to/import/prefs /path/to/all/workspaces

# export preferences from an existing workspace
java -jar eclipstyle.jar clone /path/to/ref/workspace /path/to/all/workspaces

export example

# windows
java -jar eclipstyle.jar export D:\Dev\Workspaces\eclipstyle E:\Dropbox\eclipse_prefs

# unix
java -jar eclipstyle.jar export ~/dev/workspaces/eclipstyle ~/Dropbox/eclipse_prefs

clone example

# windows (clone from existing workspace)
java -jar eclipstyle.jar clone D:\Dev\Workspaces\eclipstyle D:\Dev\Workspaces

# unix (clone previously exported prefs)
java -jar eclipstyle.jar clone ~/Dropbox/eclipse_prefs ~/dev/workspaces

Download Binary Release

You can download the latest release here.

Samples

Feel free to import my formatter profile or preferences.

Credits

picocli for command line argument parsing.

View on GitHub
GitHub Stars11
CategoryDevelopment
Updated3y ago
Forks0

Languages

Java

Security Score

80/100

Audited on Jan 28, 2023

No findings