Class XMLCatalogCodeLensParticipant
java.lang.Object
org.eclipse.lemminx.extensions.catalog.XMLCatalogCodeLensParticipant
- All Implemented Interfaces:
ICodeLensParticipant
This code lens participant creates the "(un)register catalog" code lens in
catalog files.
When clicked, this catalog runs the client command
"xml.update.configuration"
to update the workspace settings to register the catalog for use.
The client needs to implement the "xml.update.configuration"
command in order for this to work.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoCodeLens(ICodeLensRequest request, List<org.eclipse.lsp4j.CodeLens> lenses, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
-
Constructor Details
-
XMLCatalogCodeLensParticipant
-
-
Method Details
-
doCodeLens
public void doCodeLens(ICodeLensRequest request, List<org.eclipse.lsp4j.CodeLens> lenses, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) - Specified by:
doCodeLensin interfaceICodeLensParticipant
-