안드로이드 개발 질문/답변
(글 수 2,584)
이클립스에서 코드 작성 시
ex)
InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
InputMethodManager 에 대해
import android.view.inputmethod.InputMethodManager를 import해야하는데
자동완성으론
import android.view.inputmethod.*;
이런식으로 필요한 참조만 가져오는게 아니라 싹 긁어오는데요
이거 어떻게 설정할 방법이 없나요;;
(필요한 부분만 import 하도록이요)
window -> preferences -> java -> codeStyle -> organize Imports -> (하단에)Number of Imports needed for .*(e.g.'dgr.eclipse.*): 이부분의 숫자를 99로 해주시면 됩니다