Skip to content
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

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

Closed
sethladd opened this issue Oct 15, 2012 · 10 comments
Closed

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

sethladd opened this issue Oct 15, 2012 · 10 comments
Assignees
Labels
type-enhancement A request for a change that isn't a bug
Milestone

Comments

@sethladd
Copy link
Contributor

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
Copy link

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

@stevemessick
Copy link
Contributor

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


Set owner to @bwilkerson.

@stevemessick
Copy link
Contributor

Issue #4818 has been merged into this issue.

@bwilkerson
Copy link
Member

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

@danrubel
Copy link

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

@danrubel
Copy link

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
Copy link
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
Copy link
Contributor

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

@sethladd
Copy link
Contributor Author

Awesome, thanks!

@sethladd sethladd added this to the M5 milestone Apr 25, 2013
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed type-enhancement labels Mar 1, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

5 participants