java.lang.Object
org.eclipse.lemminx.extensions.relaxng.grammar.rnc.RNCInlayHints

public class RNCInlayHints extends Object
Provides inlay hints for RNC documents.

Inherited start hint: When an RNC file has an include without its own start declaration — and the included file defines start — an inlay hint is shown at the end of the include statement to make the inherited start pattern visible inline.

Example: given include "base.rnc" where base.rnc declares start = element order { ... }, the editor shows:

 include "base.rnc"  ← start = element order { … }
 

This hint is suppressed when the include already overrides start (i.e. include "base.rnc" \{ start = ... \}).

  • Constructor Details

    • RNCInlayHints

      public RNCInlayHints()
  • Method Details

    • getInlayHints

      public List<org.eclipse.lsp4j.InlayHint> getInlayHints(RNCDocument rncDocument, org.eclipse.lsp4j.Range range)