@MimeLocation(subfolderName="HoverProviders") public interface HoverProvider
@MimeRegistration(mimeType = "text/foo", service = HoverProvider.class)
public class FooHoverProvider implements HoverProvider {
...
}
Modifier and Type | Method and Description |
---|---|
CompletableFuture<String> |
getHoverContent(Document doc,
int offset)
Resolves a hover information at the given document offset and returns its
content.
|
@NonNull CompletableFuture<String> getHoverContent(@NonNull Document doc, int offset)
doc
- document on which to operate.offset
- offset within document