Previewing Dart code completions powered by machine learning
We have a new Dart developer productivity feature ready for preview. The feature augments traditional Dart code completion with new predictions based on machine learning.
We recommend using the Flutter dev channel, v1.10.0 or later, or a Dart dev channel if you want to preview it to ensure you get our most recent performance and stability improvements during the preview.
Enabling the preview
- Enable the following settings in
settings.json(this can be your global
settings.json, or a workspace specific
This enables the ML completions experiment.
This ensures that Code shows the first available completion (Code has different default where it tried to remember past completions).
IntelliJ / Android Studio
Open the *Registry from the Actions menu
Edit the dart.server.additional.arguments configuration value to include the command-line argument:
If you have feedback, please log a bug using this link. When reporting a bug, please include the following:
- Detailed repro steps
- Version output from
- A detailed description or screenshot of the completions seen