如何自动导入所需的类机器人工作室的快捷方式? [英] How to auto import the necessary classes in Android Studio with shortcut?
本文介绍了如何自动导入所需的类机器人工作室的快捷方式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我刚刚转投Android 0.5.1工作室,和事情进展如此缓慢这里,因为没有工作在常规的方式。
浩做我导入必要的类有捷径吗?
我的意思是这样的吗?
进口android.os.Bundle;
进口android.support.v7.app.ActionBarActivity;
进口android.view.Menu;
进口android.view.MenuItem;
解决方案
转到文件 - >设置 - >编辑 - >自动导入 - > Java和做以下的事情:
选择插入的进口上粘贴值全部
不要打勾上的添加unambigious进口的飞行选项的和动态地优化*进口
标记
I've just switch to Android Studio 0.5.1, and the things going so slow here, because nothing works in the regular way..
Ho do i import the necessary classes with shortcut?
I mean like this ones?
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.MenuItem;
解决方案
Go to File -> Settings -> Editor -> Auto Import -> Java and make the below things:
Select Insert imports on paste value to All
Do tick mark on Add unambigious imports on the fly option and "Optimize imports on the fly*
这篇关于如何自动导入所需的类机器人工作室的快捷方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文