Merrit · GitHub

Describe the bug
Autocomplete seems to be working for some items, not for others.

So far I have tested these:

Working Not working
Custom functions print
.forEach widgets

So this is working as expected for something like a function I wrote myself, or myList.forEach(). Not sure why others aren't working.

To Reproduce
Steps to reproduce the behavior:

  1. In a function, eg main(), type prin
  2. Press Tab to accept 'Print' autocomplete

Expected behavior
The item, eg print() or Text() should be completed with parentheses and arguments if appropriate.

Screenshots
UdRW4b6cJu

9SWkoLOBev

Versions (please complete the following information):

  • VS Code version: 1.51.1
  • Dart extension version: 3.17.0
  • Dart/Flutter SDK version:
    Dart: 2.12.0-76.0.dev
    Flutter: 1.25.0-4.0.pre

Read the original on github.com ↗