android-studio - Android Studio : Code Folding turned off but not applying to imports

标签 android-studio

我已使用 procedure described here 关闭代码折叠.

但是,我的导入仍然被折叠起来,被省略号隐藏,如下所示:

Imports hidden by ellipsis

我真的不认为隐藏代码有什么意义,因此需要额外的按键或鼠标点击才能看到它。

如何让 Android Studio 向我显示所有内容?

最佳答案

  1. 启动 Android Studio
  2. 配置 > 设置 > 编辑器 > 常规 > 代码折叠
  3. 取消选中“导入”

关于android-studio - Android Studio : Code Folding turned off but not applying to imports,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42925541/

相关文章:

java - 当用户在某个地方时,我该如何使用他们的位置?这个地方会根据位置触发一个 Action

android - PANIC : Broken AVD system path. 检查你的 ANDROID_SDK_ROOT 值 [C :\Users\Admin\AppData\Local\Android\sdk\. android\avd]!

android - 如何让 Android Studio IDE 全屏显示?

android - 找不到符号类生成器

android - 对存储库使用不安全协议(protocol),无需明确选择加入

android-studio - 默认工具栏和状态栏未显示在 android studio 3.3 中的 xml 预览中

java - 将 matplotlib (Python) 与 Android Studio 集成

java - androidx.appcompat.widget.AppCompatTextView 无法转换为 android.widget.CheckedTextView

android-studio - Gradle 无法解析最新的 Firebase 库,即 9.4.0 版本

android - flutter 医生 : cmdline-tools component is missing