flutter / flutter/flutter-intellij
Auto import on .dart folder
- Dominant language
- Java
- Stars
- 2k
- Forks
- 356
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 27
Description
Hi,
I am using `flutter_gen` to produce localization. It's like `Gallary` localization described [here](https://github.com/flutter/gallery/blob/master/lib/l10n/README.md).
When I want to import my localization that placed at `package:flutter_gen/gen_l10n/localizations.dart` by `Alt + Inter`, there is no recommendation to import from there.
Is there a way to fix this, or have to import that manually?
Contributor guide
Research direction
Reproduce the missing import suggestion for `package:flutter_gen/gen_l10n/localizations.dart` in a Flutter project using `flutter_gen`, starting from the Alt+Enter action. Done means the IDE recommends that localization import when referenced from a `.dart` file; the issue does not name implementation files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flutter
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100