如果仅在Flutter中按下空格键,则会显示VSCode智能感知 [英] VSCode intellisense appears if only space bar pressed in Flutter

查看:64
本文介绍了如果仅在Flutter中按下空格键,则会显示VSCode智能感知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用VSCode开发Flutter Apps,但是,仅当我先按空格键时才会显示智能提示.

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

例如,当我在窗口小部件树中创建任何窗口小部件(例如IconButton(icon :))时,仅当我按"ic"时,在键入第一个字符(例如"ic")时,"icon"属性不会以智能感知的方式显示空格键,或者在完全键入属性后,如果将其删除,则在下次键入时,Intellisense可以正常工作.

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.

还有其他人遇到同样的问题吗?这是在VSCode中可配置的东西吗?或出现插件问题?

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

推荐答案

根据日期,我认为您可能遇到了以下问题之一:

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

这些都是固定的,因此,如果您在最新版本的Dart扩展程序上仍然存在此问题,则应提出此错误

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.

这篇关于如果仅在Flutter中按下空格键,则会显示VSCode智能感知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆