flutter-intellij: Autocompletion not working optimally
Steps to Reproduce
flutter create
, then in main.dart
take the Text
widget in the Center
widget, wrap it in a Row
widget so that the Text
widget is the only element in the children
list like so:
body: new Center(
child: new Row(
children: <Widget>[
new Text(
'Button tapped $_counter time${ _counter == 1 ? '' : 's' }.',
),
],
),
),
Now try to add a new element in the beginning of the list, for instance by typing to “new T” . Here no suggestions are provided. If a “,” is typed after “new T” or the element is added as the last element in the list we get the suggestions.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (14 by maintainers)
Commits related to this issue
- better recovery for Dart list literals https://github.com/flutter/flutter-intellij/issues/876 — committed to JetBrains/intellij-plugins by alexander-doroshko 6 years ago
Fixed in 2018.1 branch. EAPs will start soon.