gpt4 book ai didi

android-studio - 在 Android Studio Flutter 项目的上下文菜单中用未显示的列换行

转载 作者:行者123 更新时间:2023-12-05 08:18:12 25 4
gpt4 key购买 nike

我一直在努力学习 Flutter,但我总是遇到问题,不是代码问题,而是 IDE 的行为问题。我花了相当多的时间(感觉至少是 10 倍)试图解决实际上与代码无关的问题。

我目前的问题是,我看过几个教程,讲师在代码中突出显示脚手架小部件,右键单击并转到“用列包裹”。该选项根本不适合我,因此我无法按照指南进行操作。

我什至尝试使用快捷键 ctrl+ 来完成此操作。在 VScode 中,这也没有显示换行列选项。我可以手动编写代码,复制讲师使用上下文菜单时发生的情况,但我觉得我不应该这样做。有什么想法吗?

Here is what the instructor sees

And here is what I see

最佳答案

只需确保在 Dart Analysis Server Settings 中选中Scope analysis to the current package

  1. 就在 Android Studio 的底部,转到 Dart Analysis -> Analyzer Settings

  2. 检查当前包的范围分析

Check the image here for details

关于android-studio - 在 Android Studio Flutter 项目的上下文菜单中用未显示的列换行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62000763/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com