Skip to content

Moving code from one package to another doesn't update dependencies #30298

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

Open
JFixby opened this issue Jul 31, 2017 · 0 comments
Open

Moving code from one package to another doesn't update dependencies #30298

JFixby opened this issue Jul 31, 2017 · 0 comments
Labels
area-intellij Tracking issues for the Dart IntelliJ plugin. type-enhancement A request for a change that isn't a bug

Comments

@JFixby
Copy link

JFixby commented Jul 31, 2017

Reproduction steps:

Example project: https://github.com/JFixby/DartImportsExample

class B located in the project_a/lib/folderB1/class_b_file.dart

class D2 located in the project_d/lib/class_d2_depends_on_b.dart
content:

import 'package:project_a/folderB1/class_b_file.dart'; // 
class D2 {
  B instanceOfB = new B();
}

What was done

move folderB1/class_b_file.dart from project_a to project_b

What is expected

D2 updates import to the import 'package:project_b/folderB1/class_b_file.dart'; //

What is actually happening

no update, still depends on the old project

image

has to do it manually for each dependent file

Setup

IDEA version: community 2017.2
Dart plugin: 172.3317.48

@bwilkerson bwilkerson added the area-intellij Tracking issues for the Dart IntelliJ plugin. label Jul 31, 2017
@devoncarew devoncarew added the type-enhancement A request for a change that isn't a bug label Jul 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-intellij Tracking issues for the Dart IntelliJ plugin. type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants