Skip to content

Dependent project can't see ext imports to make suggestions #30297

Closed
@JFixby

Description

@JFixby

Reproduction steps:

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

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

class D located in the project_d/lib/class_d_depends_on_b.dart
content:

class D {
  B instanceOfB = new B();
}

What was done

open suggestions

What is expected

to see proposal to add import 'package:project_a/folderB1/class_b_file.dart';

What is actually happening

no suggestions

image

has to do a manual import instead

Setup

IDEA version: community 2017.2
Dart plugin: 172.3317.48

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work ondevexp-completionIssues with the analysis server's code completion featuredevexp-serverIssues related to some aspect of the analysis serverlegacy-area-analyzerUse area-devexp instead.type-enhancementA request for a change that isn't a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions