public interface ExternalDocumentationProvider
Modifier and Type | Method and Description |
---|---|
boolean |
canPromptToConfigureDocumentation(PsiElement element)
Checks if the provider is capable of asking the user to configure external documentation for an element.
|
java.lang.String |
fetchExternalDocumentation(Project project,
PsiElement element,
java.util.List<java.lang.String> docUrls) |
boolean |
hasDocumentationFor(PsiElement element,
PsiElement originalElement)
Deprecated.
existing implementations fall back to checking for existing url
|
void |
promptToConfigureDocumentation(PsiElement element)
Prompts the user to configure the external documentation for an element if none was found.
|
java.lang.String fetchExternalDocumentation(Project project, PsiElement element, java.util.List<java.lang.String> docUrls)
@Deprecated boolean hasDocumentationFor(PsiElement element, PsiElement originalElement)
DocumentationProvider.getUrlFor(PsiElement, PsiElement)
.element
- the element to check for existence of documentationoriginalElement
- the element at caret (on which the action was invoked)boolean canPromptToConfigureDocumentation(PsiElement element)
element
- the element for which no documentation was foundvoid promptToConfigureDocumentation(PsiElement element)
element
- the element for which no documentation was found