IDEA-131863 show containing definition file in "()"

This commit is contained in:
Yann Cébron
2014-10-28 11:47:18 +01:00
parent 89b675c53d
commit 47e081e201
2 changed files with 2 additions and 3 deletions
@@ -61,7 +61,7 @@ public class ExtensionPointDocumentationProvider extends DocumentationProviderEx
(epPrefix == null ? "" : " " + epPrefix) +
"<br/>" +
"<b>" + extensionPoint.getEffectiveName() + "</b>" +
" [" + epDeclarationFile.getName() + "]<br/>" +
" (" + epDeclarationFile.getName() + ")<br/>" +
epClassText.toString();
}
@@ -21,8 +21,7 @@ public class ExtensionPointDocumentationProviderTest extends LightCodeInsightFix
DocumentationProvider provider = DocumentationManager.getProviderFromElement(docElement);
String epDefinition = "[" + myModule.getName() + "] foo<br/>" +
"<b>bar</b> " +
"[extensionPointDocumentation.xml]<br/>" +
"<b>bar</b> (extensionPointDocumentation.xml)<br/>" +
"<a href=\"psi_element://bar.MyExtensionPoint\"><code>MyExtensionPoint</code></a>";
assertEquals(epDefinition,