Skip to content

Rename Tutor concept links when moving modules #1015

@toinehartman

Description

@toinehartman

Describe the bug

Moving/renaming a module via the file explorer triggers a rename of the qualified references to this module. This rename does not consider Tutor concept links, since they are technically comments/layout, hence breaking Tutor builds.

To Reproduce

Steps to reproduce the behavior:

  1. Consider a module with a concept link to itself.
    module M
    
    @synopsis{Definition of ((M::D)).}
    data D = d();
  2. Rename the module to M2 in the file explorer.
  3. Observe the module header change, but not the concept link.

Desktop (please complete the following information):

  • Context: VS Code extension
  • Rascal Version: Rascal-LSP 2.22.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions