Class XMLReferencesPlugin

java.lang.Object
org.eclipse.lemminx.extensions.references.XMLReferencesPlugin
All Implemented Interfaces:
IXMLExtension

public class XMLReferencesPlugin extends Object implements IXMLExtension
XML references plugin. This plugin provides the capability to support completion, definition, etc for references between 2 attributes declared in a 'xml.references' settings. Given this XML:
To benefit with: - completion support when @linkend value will be trigger - go to the definition of MyId from the @linked attribute the following xml references settings must be configured: "xml.references": [ // references for docbook.xml files { "pattern": "*.xml", "expressions": [ { "from": "xref/@linkend", "to": "@id" } ] } ]
Author:
Angelo ZERR