Refactoring: Rename of a .dart file does not work

16 views
Skip to first unread message

Gen

unread,
Oct 21, 2015, 3:35:35 AM10/21/15
to Dart plugin for JetBrains Editors
Hi,

the renaming of a .dart file does not update the "import ...dart;" statements although they are already recognized by IntelliJ.

Günter Zöchbauer

unread,
Oct 21, 2015, 3:46:38 AM10/21/15
to Dart plugin for JetBrains Editors

Gen

unread,
Oct 21, 2015, 4:09:22 AM10/21/15
to Dart plugin for JetBrains Editors
Maybe I have found the problem.
IntelliJ does only the change the import statements in .dart files that also have a "library ...;" statement.

Gen

unread,
Oct 21, 2015, 4:16:59 AM10/21/15
to Dart plugin for JetBrains Editors
I was wrong in my previous guess.
IntelliJ does only adapt the "import" statements only in files that are not opened in the editor.

Günter Zöchbauer

unread,
Oct 21, 2015, 4:32:24 AM10/21/15
to Dart plugin for JetBrains Editors
Can you please add this to the linked issue?

Gen

unread,
Oct 21, 2015, 5:31:11 AM10/21/15
to Dart plugin for JetBrains Editors
Done.
Reply all
Reply to author
Forward
0 new messages