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

Auto-import completions uses package URIs even when prefer_relative_imports is enabled #3669

Closed
DanTup opened this issue Nov 15, 2021 · 1 comment
Labels
in lsp/analysis server Something to be fixed in the Dart analysis server is bug
Milestone

Comments

@DanTup
Copy link
Member

DanTup commented Nov 15, 2021

When this lint is enabled, we should insert relative imports by default.

@DanTup DanTup added is bug in lsp/analysis server Something to be fixed in the Dart analysis server labels Nov 15, 2021
@DanTup DanTup added this to the v3.29.0 milestone Nov 15, 2021
@DanTup
Copy link
Member Author

DanTup commented Nov 18, 2021

Fixed by https://dart-review.googlesource.com/c/sdk/+/220200.

@bkonyi FYI! Although DDS doesn't have prefer_relative_imports enabled, so it doesn't currently trigger there. If the lint is enabled, then the code completion will use relative paths for its auto-imports.

@DanTup DanTup closed this as completed Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in lsp/analysis server Something to be fixed in the Dart analysis server is bug
Projects
None yet
Development

No branches or pull requests

1 participant