Skip to content

Loading…

No code completion of top level names from imported library #5872

Closed
sethladd opened this Issue · 10 comments
@sethladd
Dart member

Consider this code:

import 'dart:math';

main() {
  sq <== try to code complete right there, no luck :(
}

I'd expect to be able to complete sq into sqrt.

Using editor: Version 0.1.0.201210101426, build 13503

@danrubel
Dart member

Set owner to @stevemessick.
Added this to the M2 milestone.

@stevemessick

SearchEngine.search{Function,Variable}Declarations() isn't returning any matches.


Set owner to @bwilkerson.

@stevemessick

Issue #4818 has been merged into this issue.

@bwilkerson
Dart member

Removed this from the M2 milestone.
Added this to the M3 milestone.

@danrubel
Dart member

Removed Type-Defect label.
Added Type-Enhancement label.

@danrubel
Dart member

Should be fixed when the index is converted over to use the new AnalysisEngine


Removed this from the M3 milestone.
Added this to the Later milestone.

@bwilkerson
Dart member

This is still failing (at least for me) but might not be an engine issue. Try positioning the cursor just after "sq" in the following code, and there will be no completions.


import 'dart:math';

main() {
  sqrt(4);
}


Set owner to @stevemessick.

@stevemessick

Removed this from the Later milestone.
Added this to the M5 milestone.
Added Fixed label.

@sethladd
Dart member

Awesome, thanks!

@sethladd sethladd added this to the M5 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.