【问题标题】:What is the way to enable the auto-import in android studio ? [windows]在android studio中启用自动导入的方法是什么? [视窗]
【发布时间】:2016-07-08 17:52:13
【问题描述】:

每当我需要导入时,每次我需要使用Alt+Enter。在android studio中启用自动导入的方法是什么? (在窗口中)

【问题讨论】:

标签: android android-studio import keyevent


【解决方案1】:

windows和osx的情况类似,所以不会有变化。

在 android studio 中转到

文件 --> 设置 --> 自动导入 --> 检查所有选项

喜欢

  • 显示自动导入
  • 动态优化导入选项
  • 即时添加明确的导入选项

就是这样。

正如上面评论中提到的检查链接What is the shortcut to Auto import all in Android Studio?

【讨论】:

    猜你喜欢
    • 2013-05-12
    • 1970-01-01
    • 2019-07-03
    • 2020-12-15
    • 2012-07-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多