自动完成功能在使用Flutter的Android Studio中无法正常工作-首要建议无关紧要 [英] Autocomplete not working correctly in Android Studio with Flutter - First suggestions are irrelevant
问题描述
我安装了Flutter和Android Studio. 我跑了扑打医生-扑打医生
I installed Flutter and Android Studio. I ran flutter doctor - Flutter doctor
我安装了Dart插件-v191.8593.
I have the Dart plugin installed - v191.8593.
当我在一个非常明显的地方按Ctrl + Space时,自动完成"功能不会提出正确的建议. 示例:
When I press Ctrl + Space at a very obvious place the AutoComplete do not suggest the right suggestions. Example:
如您所见,第一个建议不是ScrollPhysics类型,并且没有上下文, 在我向下滚动后,有一些ScrollPhysics建议,但是这些建议是经过一些滚动之后的.
As you see the first suggestion are not of type ScrollPhysics and are out of context, and after I scroll down, there are ScrollPhysics suggestions, but they are after some scrolling.
非常感谢:)
推荐答案
在我的情况下,我在android studio终端中运行:
In my case, I run in android studio terminal:
flutter upgrade
这篇关于自动完成功能在使用Flutter的Android Studio中无法正常工作-首要建议无关紧要的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!