VSCode intellisense appears if only space bar pressed in Flutter

会有一股神秘感。 提交于 2021-02-10 20:15:12

问题


I'm using VSCode to develop Flutter Apps, but, intellisense only shows up when I press space bar first.

For instance when I create any widget within the widget tree, such as IconButton(icon:), the property 'icon' doesn't show up in intellisense when typing the first characters, like 'ic', only if I press the space bar, or after the property was completely typed and then if it is removed, the next time when typing, then the intellisense works fine.

Does anyone else having the same issue? it is something configurable within VSCode? or a flutter plugin bug?


回答1:


Based on the date, I think you probably hit one of these issues:

  • https://github.com/Dart-Code/Dart-Code/issues/1374
  • https://github.com/Dart-Code/Dart-Code/issues/1378
  • https://github.com/Dart-Code/Dart-Code/issues/1379

These are all fixed, so if you still have this issue on the latest version of the Dart extension then this is a bug that you should raise on GitHub and I would be happy to take a look.



来源:https://stackoverflow.com/questions/52911456/vscode-intellisense-appears-if-only-space-bar-pressed-in-flutter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!