0x65-e / oml-alexandria

Project Code for UCLA CS 130 (Software Engineering) Spring 23 Offering
Apache License 2.0
2 stars 0 forks source link

Find references for OML code #10

Closed 0x65-e closed 1 year ago

0x65-e commented 1 year ago

User Story

As a User, I would like to right-click and find all references that use my OML definition so that I can understand the context of OML definitions and quickly locate usages.

Detailed Description

Find all references is a more advanced feature of a language server. This should includes both workspace-wide references (e.g. when an explicit search for references is performed) and a passive highlight on references scoped to the current document.

Acceptance Criteria

0x65-e commented 1 year ago

Local highlight works with the default Langium implementation after @Jeff848's fix for scope computation. Cross-file support still requires work for namespace and linking.