Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » code formatter remove pipe caracters used for multitype in @return comments
code formatter remove pipe caracters used for multitype in @return comments [message #1283384] Thu, 03 April 2014 11:04 Go to next message
Thierry Thierry is currently offline Thierry Thierry
Messages: 1
Registered: April 2014
Junior Member
My problem is quite simple:
when I use the php code formatter and let it format PHPDoc comments,
all the '|' characters are removed from the @return descriptions !

When I take an example from the phpDocumentor manual,

Before formatting :
    /**
     * example of showing multiple possible return types
     * @return int|string could be an int, could be a string
     */

After formatting :
    /**
     * example of showing multiple possible return types
     * 
     * @return int string be an int, could be a string
     */


which is totally wrong!
Is it a bug or is there a way to configure the formatter to not remove those '|' characters?

Thank you for your help!

Re: code formatter remove pipe caracters used for multitype in @return comments [message #1290123 is a reply to message #1283384] Wed, 09 April 2014 23:27 Go to previous messageGo to next message
John M. is currently offline John M.
Messages: 198
Registered: July 2010
Senior Member
I have the same issue and can tell you that it is a bug.
You can search in bugzilla for it and if you don't find anything, you should create there a new issue.
Re: code formatter remove pipe caracters used for multitype in @return comments [message #1290634 is a reply to message #1290123] Thu, 10 April 2014 09:40 Go to previous message
Toshihiro Izumi is currently offline Toshihiro Izumi
Messages: 348
Registered: July 2009
Location: Japan
Senior Member
fyi
Bug 431979 Code formatter remove pipe caracters and delete words when using multitype in @return comments (with patch)
Previous Topic:Eclipse error message while trying to open and RSE project
Next Topic:Upgraded to Kepler: content assist no more available
Goto Forum:
  


Current Time: Wed Oct 01 06:00:05 GMT 2014

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

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