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
Hi,

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
D:/eclipse/workspace/AngularFaces/AngularFaces_1.0/AngularFaces-core/src/

index.php/fa/39901/0/

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?

br,

//mike


[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: Wed Apr 21 13:42:11 GMT 2021

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

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

Back to the top