Google’s previewing something new in the SDK for their Dart programming language: machine learning-powered automatic code completion.

ZDNet reports:
ML Complete works with the editor to offer developers completions as they type their code. It’s also meant to help developers quickly explore lists of completions that are likely to be what they want next, rather than having to sort through options alphabetically. “With code completions, developers can both avoid misspellings and explore APIs by typing the beginning of expected symbols and choosing from the offered completions,” explains Google project manager Michael Thomsen in his article, ‘Announcing Dart 2.5: Supercharged development’.

Google’s take on AI-powered code completion for Dart relies on a model trained on a large body of Dart code on GitHub. The model is powered by Google’s TensorFlow Lite deep-learning framework and can predict what developers will type next as they’re editing code.

ML Complete is built into the Dart analyzer, meaning the preview is available in “Dart-enabled editors” including Android Studio, IntelliJ, and VS Code.

Share on Google+

of this story at Slashdot.

…read more

Source:: Slashdot