We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Example project: https://github.com/JFixby/DartImportsExample
class A located in the lib/folderA/class_a_file.dart content:
lib/folderA/class_a_file.dart
class A { static String fieldF = ""; }
class C located in the lib/class_c_depends_on_a.dart depends on the A content:
lib/class_c_depends_on_a.dart
import 'package:project_a/folderA/class_a_file.dart'; class C { C() { A.fieldF; } }
rename the folder lib/folderA/ to any name like lib/folderX/
lib/folderA/
lib/folderX/
refactoring updates class C with the new path the import should become import 'package:project_a/folderX/class_a_file.dart';
import 'package:project_a/folderX/class_a_file.dart';
no update, class see is pointing to the missing old import
Refactoring preview shows no dependent classes:
renaming leads to a compile error:
IDEA version: community 2017.2 Dart plugin: 172.3317.48
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Reproduction steps:
Example project: https://github.com/JFixby/DartImportsExample
class A located in the
lib/folderA/class_a_file.dart
content:
class C located in the
lib/class_c_depends_on_a.dart
depends on the Acontent:
What was done
rename the folder
lib/folderA/
to any name likelib/folderX/
What is expected
refactoring updates class C with the new path
the import should become
import 'package:project_a/folderX/class_a_file.dart';
What is actually happening
no update, class see is pointing to the missing old import
Refactoring preview shows no dependent classes:
renaming leads to a compile error:
Setup
IDEA version: community 2017.2
Dart plugin: 172.3317.48
The text was updated successfully, but these errors were encountered: