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

Moving a module to a different location could also change it's definition #34

Open
stillalex opened this issue Oct 10, 2018 · 1 comment

Comments

@stillalex
Copy link

Using the Frege Eclipse IDE, I can define a module M under package 'org.example1':

module org.example1.M where
data M = M

Now I want to move it to a different package 'org.example2'.
My options are drag&drop or (right-click) Refactor -> Move. The file moves, but the module definition doesn't change:

module org.example1.M where
data M = M

It would be nice to have the module definition change from module org.example1.M to module org.example2.M.

@Ingo60
Copy link
Member

Ingo60 commented Oct 13, 2018

Yes, it would be good to have such refactoring (and others, as well), but the framework the eclipse plugin is build upon doesn't support that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants