Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming a module in the Explorer #518

Open
sungshik opened this issue Nov 13, 2024 · 0 comments
Open

Renaming a module in the Explorer #518

sungshik opened this issue Nov 13, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@sungshik
Copy link
Contributor

Problem

When an rsc file is renamed in the Explorer, the name change isn't applied to the module name in the file, nor in any of the other modules that import it.

Example

Before renaming:

  • src/main/rascal/Foo.rsc:

    module Foo
    import Bar;
  • src/main/rascal/Bar.rsc:

    module Bar

After renaming Bar to Baz -- expected:

  • src/main/rascal/Foo.rsc:

    module Foo
    import Baz;
  • src/main/rascal/Baz.rsc:

    module Baz

After renaming Bar to Baz in the Explorer -- actual:

  • src/main/rascal/Foo.rsc:

    module Foo
    import Bar; // <-- not changed
  • src/main/rascal/Baz.rsc:

    module Bar // <-- not changed
@sungshik sungshik added the enhancement New feature or request label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants