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 type code completion for user libraries #389

Closed
danrubel opened this issue Nov 9, 2011 · 3 comments
Closed

No type code completion for user libraries #389

danrubel opened this issue Nov 9, 2011 · 3 comments

Comments

@danrubel
Copy link

danrubel commented Nov 9, 2011

When adding a field, code completion suggests types from bundled libraries, but not from imported user libraries.

  • Open "Total.dart"
  • add new line below "SpreadsheetPresenter _presenter;"
  • Type "Sp" ctrl-space

You'll see lots of code completion suggested types, but "Spreadsheet" (defined in imported TotalLib.dart) is missing.

@stevemessick
Copy link
Contributor

What version of the editor are you using? When I repeat those steps I DO see "Sreadsheet". Which surprised me. This has been a long-standing problem and I did not know that type search had started returning the correct results. I'm using rev 1354 and opening the Total defined in svn (not the version distributed with a build).


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

@danrubel
Copy link
Author

danrubel commented Nov 9, 2011

Build 1357 on Linux 64 bit
I'm using the Total distributed with the Dart Editor

@keertip
Copy link
Contributor

keertip commented Jan 26, 2012

Tested it with build 3622 on linux 32/64bit. Code completion works for user defined libraries.


Added Fixed label.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants