mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-131863 show containing definition file in "()"
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user