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

Show a warning when a Dart file is opened outside of a folder #1937

Closed
DanTup opened this issue Aug 21, 2019 · 1 comment
Closed

Show a warning when a Dart file is opened outside of a folder #1937

DanTup opened this issue Aug 21, 2019 · 1 comment
Milestone

Comments

@DanTup
Copy link
Member

DanTup commented Aug 21, 2019

Until #602 is done, we should at least show the user a message to make it clear why things aren't working.

@DanTup DanTup added this to the v3.4.0 milestone Aug 21, 2019
@DanTup
Copy link
Member Author

DanTup commented Aug 21, 2019

@jacob314 @kenzieschmoll I've added this warning on the first Dart file you open if there are no analysis roots:

Screenshot 2019-08-21 at 9 17 11 am

This should make it clearer why some things don't work. The issue for a proper fix is #602 which requires an SDK fix (dart-lang/sdk#32256).

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

No branches or pull requests

1 participant