Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Formatting of comments broken in Keplar (4.3)
Formatting of comments broken in Keplar (4.3) [message #1091317] Wed, 21 August 2013 06:32 Go to next message
Mike Solomon is currently offline Mike Solomon
Messages: 1
Registered: August 2013
Junior Member
I have just installed Keplar and PDT

If I format my code using Ctrl-Shift F it breaks my comments

e.g.

Before Formatting

/*
* HISTORY
* 27/02/2012
* created for 6.4
*/

After Formatting

/*
* HISTORY 27/02/2012 created for 6.4
*/

This worked properly in Juno

Is there anything I can do to fix this?
Re: Formatting of comments broken in Keplar (4.3) [message #1091798 is a reply to message #1091317] Wed, 21 August 2013 21:16 Go to previous message
Toshihiro Izumi is currently offline Toshihiro Izumi
Messages: 338
Registered: July 2009
Location: Japan
Senior Member
It looks like a bug.

It is configurable here.
Preferences>PHP>Code Style>Formatter,
in a profile,
Comments>General settings>Never join lines

This works on PHPDoc comments, but doesn't work on block comments. Since it is a general settings, it should work on both. (same function of JDT works fine)
Previous Topic:Parser error when using GOTO statements
Next Topic:Change launch directory for all files at once
Goto Forum:
  


Current Time: Wed Apr 16 12:11:15 EDT 2014

Powered by FUDForum. Page generated in 0.03155 seconds