Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
sethladd opened this Issue · 10 comments
@sethladd
Owner

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
Collaborator

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

@stevemessick
Collaborator

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


Set owner to @bwilkerson.

@stevemessick
Collaborator

Issue #4818 has been merged into this issue.

@bwilkerson
Collaborator

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

@danrubel
Collaborator

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

@danrubel
Collaborator

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
Collaborator

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
Collaborator

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

@sethladd
Owner

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.