ceylon-ide-intellij icon indicating copy to clipboard operation
ceylon-ide-intellij copied to clipboard

moving a .ceylon file in the Project tree

Open gavinking opened this issue 9 years ago • 2 comments

let's say I have two source files in the default package: run.ceylon which depends on a class in Class.ceylon. I drag and drop Class.ceylon into another package.

What should happen is that I get errors in run.ceylon because the class is no longer visible (or, even better, and import statement gets added automatically).

What actually happens is:

  • there are no errors in run.ceylon, because no model update was triggered.
  • I get a totally rubbish error, "identical source files", in the moved file.

gavinking avatar Sep 27 '16 12:09 gavinking

let me take it, as it is probably related to the ceylon model manager not tracking correctly the file moves.

davidfestal avatar Sep 27 '16 12:09 davidfestal

I've noticed this too. When renaming a file in the same package, you get errors for duplicate declarations.

jvasileff avatar Sep 27 '16 12:09 jvasileff