Community
Participate
Working Groups
PDT 3.3.0.201407102211 Use code from below and try show tool tip for method 'indexAction'. class IndexController { /** * Some text * * (non-PHPdoc) * @see \Zend\Mvc\Controller\AbstractActionController::indexAction() */ public function indexAction() { return new ViewModel(); } } Exception from log: !ENTRY org.eclipse.jface.text 4 0 2014-07-08 15:17:58.759 !MESSAGE Unexpected runtime error while computing a text hover !STACK 0 java.lang.StringIndexOutOfBoundsException: String index out of range: -14 at java.lang.String.substring(Unknown Source) at org.eclipse.php.internal.ui.documentation.PHPDocumentationContentAccess.handleLink(PHPDocumentationContentAccess.java:1410) at org.eclipse.php.internal.ui.documentation.PHPDocumentationContentAccess.handleSeeTag(PHPDocumentationContentAccess.java:1266) at org.eclipse.php.internal.ui.documentation.PHPDocumentationContentAccess.handleBlockTags(PHPDocumentationContentAccess.java:1202) at org.eclipse.php.internal.ui.documentation.PHPDocumentationContentAccess.toHTML(PHPDocumentationContentAccess.java:915) at org.eclipse.php.internal.ui.documentation.PHPDocumentationContentAccess.javadoc2HTML(PHPDocumentationContentAccess.java:624) at org.eclipse.php.internal.ui.documentation.PHPDocumentationContentAccess.getHTMLContentFromSource(PHPDocumentationContentAccess.java:583) at org.eclipse.php.internal.ui.documentation.PHPDocumentationContentAccess.getHTMLContent(PHPDocumentationContentAccess.java:496) at org.eclipse.php.internal.ui.editor.hover.PHPDocumentationHover.getHTMLContent(PHPDocumentationHover.java:891) at org.eclipse.php.internal.ui.editor.hover.PHPDocumentationHover.getHoverInfo(PHPDocumentationHover.java:565) at org.eclipse.php.internal.ui.editor.hover.PHPDocumentationHover.internalGetHoverInfo(PHPDocumentationHover.java:533) at org.eclipse.php.internal.ui.editor.hover.PHPDocumentationHover.getHoverInfo2(PHPDocumentationHover.java:483) at org.eclipse.php.internal.ui.editor.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:132) at org.eclipse.php.internal.ui.editor.hover.PHPTextHoverProxy.getHoverInfo2(PHPTextHoverProxy.java:77) at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
Patch https://git.eclipse.org/r/29824
Marged, again thank you! https://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=d51225b149c81c2219e2030704a304403ad3e244
Verified. Closing