Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » JDT source cleanup command line(Use Eclipse JDT source cleanup from command line)
JDT source cleanup command line [message #1837609] Wed, 03 February 2021 07:38
Mikael Petterson is currently offline Mikael PettersonFriend
Messages: 157
Registered: July 2009
Senior Member

We are using Eclipse as our main development tool for our java project. We use Source --> Clean Up... functionality. It is wonderful but sad thing is that not everyone wants/remembers to use it.

So I thought we could use it in our CI process similar to code formatter in Eclipse JDT.

eclipse.exe -application org.eclipse.jdt.core.JavaCodeFormatter
-config <path-to-config-file>\org.eclipse.jdt.core.prefs


It would be really nice if we could create review with a number of cleanup changes for one commit.

Is it possible? If not is there any plans to implement support to access it the same way?



[Updated on: Wed, 03 February 2021 07:38]

Report message to a moderator

Previous Topic:Eclipse Project for a Java Package?
Next Topic:Documentation for debugging a docker in Eclipse C++
Goto Forum:

Current Time: Tue Jan 18 00:45:50 GMT 2022

Powered by FUDForum. Page generated in 0.01809 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top