Community
Participate
Working Groups
1. Type clock comment: /** *Result text. */ 2. Set mouse pointer after "text." and press ENTER key. In new line type text "//". Slash be delete space and add to "*" character. This is bug!
I have this /** * Result text. * // test (with spase before) */ Actual result /** * Result text. *// test (without spase before) */
Please, fix this bug.
Hi, From the PHP Docs, http://www.php.net/manual/en/language.basic-syntax.comments.php … Make sure you don't nest 'C' style comments…(!!!) JDT behavior is absolutely the same about nested java comments. Seems like not a bug ...
seems like not a bug, per Vadim's comment
If we want to type like as |/* | * /foo/bar | */ we have to type "/",left-arrow,space,right-arrow,"f","o","o"... Don't ask me why "/foo/bar". We can describe ANY strings in comment. IMO, automatic-closing-comment-block functionality[*] should not be applied inside the closed comment block at least. Even though JDT do it. * org.eclipse.php.internal.ui.autoEdit.PhpDocAutoIndentStrategy.indentAfterCommentEnd(IDocument, DocumentCommand)
Created attachment 123078 [details] pactch solving the problem with slash typing in block comment I've created the patch that solves this issue. It's possible to type slashes in the body of the comment block. In case slash typed in a last line of not closed comment block, it will be translated to comment block closing by deleting the space, as it was before. Initial state: /* * * | //< pressing "/" at | Result: /* * */
fixed in HEAD (2.1)
Not a bug. Fixed accordingly to Vadim's patch. pdt-all-in-one 2.1.0M4 N20090203 Kalin Yanev kalin.a@zend.com