Exporting php source without comments [message #1703381] |
Fri, 31 July 2015 08:26 |
Patrick Schulz Messages: 1 Registered: July 2015 |
Junior Member |
|
|
Hi.
I'd like to write my php website with eclipse and pdt. All functions and classes in the source are commented for doxygen (that is, eclox). When I'm done, i'd like to press a magical "button" which creates a copy of my sources in an "export" folder but without all those comment blocks. These cleaned up files, i'd like to upload to (or sync with) my server.
So my question is: Is there such a button (or function) in eclipse? If not, is there any extension that does that? I'd like to keep my working code clean from documentation gobble since i have those in the development version of the source.
Bonus question: Can this magic button also get rid of unnecessary whitespaces in my php source and reduce each chain of line breaks, spaces and tabs to one single space character? Maybe not only for php code but also for, say, JavaScript?
|
|
|
Powered by
FUDForum. Page generated in 0.03107 seconds