The document highlight request is sent from the client to the server to resolve document highlights for a given text document position. For programming languages this usually highlights all references to the symbol scoped to this file. However, we kept ‘textDocument/documentHighlight’ and ‘textDocument/references’ separate requests since the first one is allowed to be more fuzzy. Symbol matches usually have a DocumentHighlightKind of Read or Write whereas fuzzy or textual matches use Text as the kind.
Desired features
[ ] Highlight all locations where the same class shows up in the current scope.
[ ] Server tests.
[ ] Client end to end tests.
Examples
Check Modelica.Blocks.Examples.PID_Controller from the MSL. Highlighting PI should highlight all locations of PI inside the model.
Description
Document Highlights Request
Desired features
Examples
Check Modelica.Blocks.Examples.PID_Controller from the MSL. Highlighting
PI
should highlight all locations ofPI
inside the model.