Whenever i need to import every time i need to use Alt+Enter
. what is the way to enable auto-import in android studio ? (in windows)
Asked
Active
Viewed 3,596 times
3

Amit Vaghela
- 22,772
- 22
- 86
- 142

rajaishwary
- 4,362
- 2
- 14
- 14
-
5Possible duplicate of [What is the shortcut to Auto import all in Android Studio?](http://stackoverflow.com/questions/16615038/what-is-the-shortcut-to-auto-import-all-in-android-studio) – Vincent Mar 22 '16 at 01:07
1 Answers
6
It is similar case for windows and osx so there will be no change.
In android studio go to
file --> setting --> auto-import --> check all options
like
- show auto-import
- Optimize imports on the fly option
- Add unambiguous imports on the fly option
thats it.
As mentioned in comment above check link What is the shortcut to Auto import all in Android Studio?

Community
- 1
- 1

Amit Vaghela
- 22,772
- 22
- 86
- 142