-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Absolute import path generates if long subfolder hierarchy #41947
Comments
@dnfield commented on May 16, 2020, 3:37 PM UTC: Which IDE are you using? This seems like a bug in an IDE plugin, or perhaps a bug in the analysis server. |
@subzero911 commented on May 16, 2020, 3:38 PM UTC: I use Android Studio |
@DanTup commented on May 18, 2020, 8:23 AM UTC: If IntelliJ handles this the same as VS Code, this is likely coming from the analysis server. (@bwilkerson @scheglov) |
@bwilkerson commented on May 18, 2020, 3:10 PM UTC: Yes, this looks like an issue in the analysis server. Please move this issue to the sdk repository. |
@scheglov In case you have any insight as to why this might be happening. |
I don't have much to add. |
@subzero911 commented on May 16, 2020, 9:48 AM UTC:
Steps to Reproduce
Expected results:
Project relative path generated:
import 'package:chatapp/widgets/auth/auth_form.dart';
Actual results:
Absolute disk path generated:
import 'file:///D:/Flutter/chat_app/lib/widgets/auth/auth_form.dart';
Obviously if you move your project to the other folder this path would be wrong. Thus it's not a appropriate behaviour.
This issue was moved by devoncarew from flutter/flutter-intellij#4551.
The text was updated successfully, but these errors were encountered: