First of all, this article turns from http://blog.csdn.net/csdnzouqi/article/details/50454703, is to facilitate viewing these settings later, finally here to thank Yumbo Lord.
In order to keep up with the pace of technological development, I switched to Android studio, although there are other newer Android development software, but now for me the software is more appropriate. I have been using Eclipse for Android development, but also used to use the Eclipse shortcut keys, just began to use Android studio to do Android development is not accustomed to writing code efficiency is very low. Then on the Internet to find out how to write code to improve efficiency, ask friends, of course, he also used Androidstudio. I was so persistent, finally know the method. Share to the Apes!
------------------------------------------------------------------------------
First of all, Android Studio has just installed the cue function, but this hint for the use of Eclipse of the Apes! For example, I want to use the lowercase "toa" hint to find the toast class, which will prompt you as follows:
Capitalization is the kind of toast that can be found, but lowercase does not find the Toast class, which is obviously not the result you want. But when you set the case sensitive completion to none, you can find the toast class with the same lowercase "t" as Eclipse.
------------------------------------------------------------------------------
Setup method:
1. Click the file option in the upper left corner to find the settings
2. After clicking Settings, find Editor
3. Click on the editor, find general, click General, find code completion
4. set case Sensitive completion to none OK!
------------------------------------------------------------------------------
As shown in the following:
Well, to here to solve the problem of code hints, can not be said to solve it! Because Android studio itself hints there is nothing wrong, just you are not used to it. The fact is that apes who are familiar with the Eclipse tools to develop Android apps can find a touch of familiarity.
------------------------------------------------------------------------------
The following people should have the code automatic completion of the problem to solve (Ibid., Android Studio itself is not a problem, the habit of the problem), to show you the code of automatic completion of the shortcut key is the line, as to how you want to change how to change, this is your right.
------------------------------------------------------------------------------
Setup method:
1. Click the file option in the upper left corner to find the settings
2. After clicking Settings, find Keymap
3. After clicking Keymap, Find main Menu, click Main Menu, find code
4. Click Code, find completion, click Completion, set basic as the shortcut you want to automatically fill in the code.
------------------------------------------------------------------------------
As shown in the following:
When the shortcut is set, you can use the auto-complete function of the code!
Android Studio Set code hints and Code auto-complete shortcut keys--eclipse style-Go